org.apache.commons.math3.transform
Class FastCosineTransformerTest

java.lang.Object
  extended by org.apache.commons.math3.transform.RealTransformerAbstractTest
      extended by org.apache.commons.math3.transform.FastCosineTransformerTest

public final class FastCosineTransformerTest
extends RealTransformerAbstractTest

Test case for fast cosine transformer.

FCT algorithm is exact, the small tolerance number is used only to account for round-off errors.

Version:
$Id: FastCosineTransformerTest.java 1374632 2012-08-18 18:11:11Z luc $

Constructor Summary
FastCosineTransformerTest(DctNormalization normalization)
           
 
Method Summary
static Collection<Object[]> data()
          Returns an array containing true, false in order to check both standard and orthogonal DCTs.
 void testAdHocData()
          Test of transformer for the ad hoc data.
 void testParameters()
          Test of parameters for the transformer.
 void testSinFunction()
          Test of transformer for the sine function.
 
Methods inherited from class org.apache.commons.math3.transform.RealTransformerAbstractTest
testTransformFunction, testTransformFunctionInvalidBounds, testTransformFunctionInvalidDataSize, testTransformFunctionNotStrictlyPositiveNumberOfSamples, testTransformReal, testTransformRealInvalidDataSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastCosineTransformerTest

public FastCosineTransformerTest(DctNormalization normalization)
Method Detail

data

public static Collection<Object[]> data()
Returns an array containing true, false in order to check both standard and orthogonal DCTs.

Returns:
an array of parameters for this parameterized test

testAdHocData

public void testAdHocData()
Test of transformer for the ad hoc data.


testParameters

public void testParameters()
                    throws Exception
Test of parameters for the transformer.

Throws:
Exception

testSinFunction

public void testSinFunction()
Test of transformer for the sine function.



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