org.apache.commons.math.fraction
Class BigFractionTest

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

public class BigFractionTest
extends junit.framework.TestCase


Constructor Summary
BigFractionTest()
           
 
Method Summary
 void testAbs()
           
 void testAdd()
           
 void testBigDecimalValue()
           
 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 testIntValue()
           
 void testLongValue()
           
 void testMultiply()
           
 void testNegate()
           
 void testPow()
           
 void testReciprocal()
           
 void testSerial()
           
 void testSubtract()
           
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigFractionTest

public BigFractionTest()
Method Detail

testConstructor

public void testConstructor()

testGoldenRatio

public void testGoldenRatio()

testDoubleConstructor

public void testDoubleConstructor()
                           throws org.apache.commons.math.ConvergenceException
Throws:
org.apache.commons.math.ConvergenceException

testDigitLimitConstructor

public void testDigitLimitConstructor()
                               throws org.apache.commons.math.ConvergenceException
Throws:
org.apache.commons.math.ConvergenceException

testEpsilonLimitConstructor

public void testEpsilonLimitConstructor()
                                 throws org.apache.commons.math.ConvergenceException
Throws:
org.apache.commons.math.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()

testReciprocal

public void testReciprocal()

testNegate

public void testNegate()

testAdd

public void testAdd()

testDivide

public void testDivide()

testMultiply

public void testMultiply()

testSubtract

public void testSubtract()

testBigDecimalValue

public void testBigDecimalValue()

testEqualsAndHashCode

public void testEqualsAndHashCode()

testGetReducedFraction

public void testGetReducedFraction()

testPow

public void testPow()

testSerial

public void testSerial()
                throws org.apache.commons.math.fraction.FractionConversionException
Throws:
org.apache.commons.math.fraction.FractionConversionException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.