org.apache.commons.math.stat
Class StatUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.stat.StatUtilsTest
All Implemented Interfaces:
junit.framework.Test

public final class StatUtilsTest
extends junit.framework.TestCase

Test cases for the StatUtils class.

Version:
$Revision: 566833 $ $Date: 2007-08-16 13:36:33 -0700 (Thu, 16 Aug 2007) $

Constructor Summary
StatUtilsTest(java.lang.String name)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void testArrayIndexConditions()
           
 void testDifferenceStats()
           
 void testGeometricMean()
           
 void testMax()
           
 void testMean()
           
 void testMin()
           
 void testN0andN1Conditions()
           
 void testPercentile()
           
 void testProduct()
           
 void testStats()
          test stats
 void testSumLog()
           
 void testSumSq()
           
 void testVariance()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatUtilsTest

public StatUtilsTest(java.lang.String name)
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

suite

public static junit.framework.Test suite()

testStats

public void testStats()
test stats


testN0andN1Conditions

public void testN0andN1Conditions()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testArrayIndexConditions

public void testArrayIndexConditions()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testSumSq

public void testSumSq()

testProduct

public void testProduct()

testSumLog

public void testSumLog()

testMean

public void testMean()

testVariance

public void testVariance()

testMax

public void testMax()

testMin

public void testMin()

testPercentile

public void testPercentile()

testDifferenceStats

public void testDifferenceStats()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testGeometricMean

public void testGeometricMean()
                       throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.