org.apache.commons.math.transform
Class FastCosineTransformerTest

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

public final class FastCosineTransformerTest
extends junit.framework.TestCase

Testcase for fast cosine transformer.

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

Version:
$Revision: 764769 $ $Date: 2009-04-14 09:13:54 -0400 (Tue, 14 Apr 2009) $

Constructor Summary
FastCosineTransformerTest()
           
 
Method Summary
 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 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

FastCosineTransformerTest

public FastCosineTransformerTest()
Method Detail

testAdHocData

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


testSinFunction

public void testSinFunction()
                     throws org.apache.commons.math.MathException
Test of transformer for the sine function.

Throws:
org.apache.commons.math.MathException

testParameters

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

Throws:
Exception


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