org.apache.commons.math.transform
Class FastSineTransformerTest

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

public final class FastSineTransformerTest
extends junit.framework.TestCase

Testcase for fast sine transformer.

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

Version:
$Revision$ $Date$

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

Constructor Detail

FastSineTransformerTest

public FastSineTransformerTest()
Method Detail

testAdHocData

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

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.