org.apache.commons.math3.fraction
Class FractionTest

java.lang.Object
  extended by org.apache.commons.math3.fraction.FractionTest

public class FractionTest
extends Object

Version:
$Id: FractionTest.java 1368253 2012-08-01 21:24:27Z tn $

Constructor Summary
FractionTest()
           
 
Method Summary
 void testAbs()
           
 void testAdd()
           
 void testCompareTo()
           
 void testConstructor()
           
 void testConstructorDouble()
           
 void testDigitLimitConstructor()
           
 void testDivide()
           
 void testDoubleConstructor()
           
 void testDoubleValue()
           
 void testEpsilonLimitConstructor()
           
 void testEqualsAndHashCode()
           
 void testFloatValue()
           
 void testGetReducedFraction()
           
 void testGoldenRatio()
           
 void testIntegerOverflow()
           
 void testIntValue()
           
 void testLongValue()
           
 void testMath835()
           
 void testMultiply()
           
 void testNegate()
           
 void testPercentage()
           
 void testReciprocal()
           
 void testSerial()
           
 void testSubtract()
           
 void testToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FractionTest

public FractionTest()
Method Detail

testConstructor

public void testConstructor()

testGoldenRatio

public void testGoldenRatio()

testDoubleConstructor

public void testDoubleConstructor()
                           throws ConvergenceException
Throws:
ConvergenceException

testDigitLimitConstructor

public void testDigitLimitConstructor()
                               throws ConvergenceException
Throws:
ConvergenceException

testIntegerOverflow

public void testIntegerOverflow()

testEpsilonLimitConstructor

public void testEpsilonLimitConstructor()
                                 throws ConvergenceException
Throws:
ConvergenceException

testCompareTo

public void testCompareTo()

testDoubleValue

public void testDoubleValue()

testFloatValue

public void testFloatValue()

testIntValue

public void testIntValue()

testLongValue

public void testLongValue()

testConstructorDouble

public void testConstructorDouble()

testAbs

public void testAbs()

testPercentage

public void testPercentage()

testMath835

public void testMath835()

testReciprocal

public void testReciprocal()

testNegate

public void testNegate()

testAdd

public void testAdd()

testDivide

public void testDivide()

testMultiply

public void testMultiply()

testSubtract

public void testSubtract()

testEqualsAndHashCode

public void testEqualsAndHashCode()

testGetReducedFraction

public void testGetReducedFraction()

testToString

public void testToString()

testSerial

public void testSerial()
                throws FractionConversionException
Throws:
FractionConversionException


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