org.apache.commons.math3.util
Class PrecisionTest

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

public class PrecisionTest
extends Object

Test cases for the Precision class.

Version:
$Id$

Constructor Summary
PrecisionTest()
           
 
Method Summary
 void testCompareToEpsilon()
           
 void testCompareToMaxUlps()
           
 void testEqualsIncludingNaN()
           
 void testEqualsIncludingNaNWithAllowedDelta()
           
 void testEqualsIncludingNaNWithAllowedUlps()
           
 void testEqualsWithAllowedDelta()
           
 void testEqualsWithAllowedUlps()
           
 void testEqualsWithRelativeTolerance()
           
 void testFloatEqualsWithAllowedUlps()
           
 void testIssue721()
           
 void testMath475()
           
 void testMath843()
           
 void testRepresentableDelta()
           
 void testRoundDouble()
           
 void testRoundFloat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrecisionTest

public PrecisionTest()
Method Detail

testEqualsWithRelativeTolerance

public void testEqualsWithRelativeTolerance()

testEqualsIncludingNaN

public void testEqualsIncludingNaN()

testEqualsWithAllowedDelta

public void testEqualsWithAllowedDelta()

testMath475

public void testMath475()

testEqualsIncludingNaNWithAllowedDelta

public void testEqualsIncludingNaNWithAllowedDelta()

testFloatEqualsWithAllowedUlps

public void testFloatEqualsWithAllowedUlps()

testEqualsWithAllowedUlps

public void testEqualsWithAllowedUlps()

testEqualsIncludingNaNWithAllowedUlps

public void testEqualsIncludingNaNWithAllowedUlps()

testCompareToEpsilon

public void testCompareToEpsilon()

testCompareToMaxUlps

public void testCompareToMaxUlps()

testRoundDouble

public void testRoundDouble()

testRoundFloat

public void testRoundFloat()

testIssue721

public void testIssue721()

testRepresentableDelta

public void testRepresentableDelta()

testMath843

public void testMath843()


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