org.apache.commons.math.stat
Class CertifiedDataTest

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

public class CertifiedDataTest
extends junit.framework.TestCase

Certified data test cases.

Version:
$Revision: 611490 $ $Date: 2008-01-12 14:36:35 -0700 (Sat, 12 Jan 2008) $

Field Summary
protected  double mean
           
protected  double std
           
 
Constructor Summary
CertifiedDataTest(java.lang.String name)
          Certified Data Test Constructor
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void testDescriptiveStatistics()
          Test DescriptiveStatistics - implementations that store full array of values and execute multi-pass algorithms
 void testSummaryStatistics()
          Test SummaryStatistics - implementations that do not store the data and use single pass algorithms to compute statistics
 
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
 

Field Detail

mean

protected double mean

std

protected double std
Constructor Detail

CertifiedDataTest

public CertifiedDataTest(java.lang.String name)
Certified Data Test Constructor

Parameters:
name -
Method Detail

setUp

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

suite

public static junit.framework.Test suite()
Returns:
The test suite

testSummaryStatistics

public void testSummaryStatistics()
                           throws java.lang.Exception
Test SummaryStatistics - implementations that do not store the data and use single pass algorithms to compute statistics

Throws:
java.lang.Exception

testDescriptiveStatistics

public void testDescriptiveStatistics()
                               throws java.lang.Exception
Test DescriptiveStatistics - implementations that store full array of values and execute multi-pass algorithms

Throws:
java.lang.Exception


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