org.apache.commons.math.transform
Class FastFourierTransformerTest

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

public final class FastFourierTransformerTest
extends junit.framework.TestCase

Testcase for fast Fourier transformer.

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

Version:
$Revision$ $Date$

Constructor Summary
FastFourierTransformerTest()
           
 
Method Summary
 void testAdHocData()
          Test of transformer for the ad hoc data taken from Mathematica.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FastFourierTransformerTest

public FastFourierTransformerTest()
Method Detail

testAdHocData

public void testAdHocData()
                   throws org.apache.commons.math.MathException
Test of transformer for the ad hoc data taken from Mathematica.

Throws:
org.apache.commons.math.MathException

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 java.lang.Exception
Test of parameters for the transformer.

Throws:
java.lang.Exception


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