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: 762087 $ $Date: 2009-04-05 10:20:18 -0400 (Sun, 05 Apr 2009) $

Constructor Summary
StatUtilsTest(String name)
           
 
Method Summary
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, setUp, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatUtilsTest

public StatUtilsTest(String name)
Method Detail

suite

public static junit.framework.Test suite()

testStats

public void testStats()
test stats


testN0andN1Conditions

public void testN0andN1Conditions()
                           throws Exception
Throws:
Exception

testArrayIndexConditions

public void testArrayIndexConditions()
                              throws Exception
Throws:
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 Exception
Throws:
Exception

testGeometricMean

public void testGeometricMean()
                       throws Exception
Throws:
Exception


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.