org.apache.commons.math.fraction
Class BigFractionFormatTest

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

public class BigFractionFormatTest
extends junit.framework.TestCase


Constructor Summary
BigFractionFormatTest()
           
 
Method Summary
protected  Locale getLocale()
           
protected  void setUp()
           
 void testDenominatorFormat()
           
 void testDoubleFormat()
           
 void testFormat()
           
 void testFormatImproper()
           
 void testFormatImproperNegative()
           
 void testFormatNegative()
           
 void testFormatZero()
           
 void testLongFormat()
           
 void testNumeratorFormat()
           
 void testParse()
           
 void testParseBig()
           
 void testParseInteger()
           
 void testParseInvalid()
           
 void testParseInvalidDenominator()
           
 void testParseNegative()
           
 void testParseProper()
           
 void testParseProperInvalidMinus()
           
 void testParseProperNegative()
           
 void testWholeFormat()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

BigFractionFormatTest

public BigFractionFormatTest()
Method Detail

getLocale

protected Locale getLocale()

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testFormat

public void testFormat()

testFormatNegative

public void testFormatNegative()

testFormatZero

public void testFormatZero()

testFormatImproper

public void testFormatImproper()

testFormatImproperNegative

public void testFormatImproperNegative()

testParse

public void testParse()

testParseInteger

public void testParseInteger()

testParseInvalid

public void testParseInvalid()

testParseInvalidDenominator

public void testParseInvalidDenominator()

testParseNegative

public void testParseNegative()

testParseProper

public void testParseProper()

testParseProperNegative

public void testParseProperNegative()

testParseProperInvalidMinus

public void testParseProperInvalidMinus()

testParseBig

public void testParseBig()
                  throws ParseException
Throws:
ParseException

testNumeratorFormat

public void testNumeratorFormat()

testDenominatorFormat

public void testDenominatorFormat()

testWholeFormat

public void testWholeFormat()

testLongFormat

public void testLongFormat()

testDoubleFormat

public void testDoubleFormat()


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