org.apache.commons.math3.util
Class FastMathStrictComparisonTest

java.lang.Object
  extended by org.apache.commons.math3.util.FastMathStrictComparisonTest

public class FastMathStrictComparisonTest
extends Object

Test to compare FastMath results against StrictMath results for boundary values.

Running all tests independently:
mvn test -Dtest=FastMathStrictComparisonTest
or just run tests against a single method (e.g. scalb):
mvn test -Dtest=FastMathStrictComparisonTest -DargLine="-DtestMethod=scalb"


Constructor Summary
FastMathStrictComparisonTest(Method m, Method f, Type[] types, Object[][] data)
           
 
Method Summary
static List<Object[]> data()
           
 void test1()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastMathStrictComparisonTest

public FastMathStrictComparisonTest(Method m,
                                    Method f,
                                    Type[] types,
                                    Object[][] data)
                             throws Exception
Throws:
Exception
Method Detail

test1

public void test1()
           throws Exception
Throws:
Exception

data

public static List<Object[]> data()
                           throws Exception
Throws:
Exception


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