org.apache.commons.math.complex
Class ComplexFormatAbstractTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.complex.ComplexFormatAbstractTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ComplexFormatTest, FrenchComplexFormatTest

public abstract class ComplexFormatAbstractTest
extends junit.framework.TestCase


Constructor Summary
ComplexFormatAbstractTest()
           
 
Method Summary
protected abstract  char getDecimalCharacter()
           
protected abstract  Locale getLocale()
           
protected  void setUp()
           
 void testConstructorSingleFormat()
           
 void testDifferentImaginaryChar()
           
 void testForgottenImaginaryCharacter()
           
 void testFormatNumber()
           
 void testFormatObject()
           
 void testGetImaginaryFormat()
           
 void testGetRealFormat()
           
 void testNan()
           
 void testNegativeBoth()
           
 void testNegativeImaginary()
           
 void testNegativeInfinity()
           
 void testNegativeReal()
           
 void testParseDifferentImaginaryChar()
           
 void testParseNan()
           
 void testParseNegativeBoth()
           
 void testParseNegativeImaginary()
           
 void testParseNegativeReal()
           
 void testParsePositiveInfinity()
           
 void testParseSimpleNoDecimals()
           
 void testParseSimpleWithDecimals()
           
 void testParseSimpleWithDecimalsTrunc()
           
 void testParseZeroImaginary()
           
 void testParseZeroReal()
           
 void testPaseNegativeInfinity()
           
 void testPositiveInfinity()
           
 void testSetImaginaryCharacterEmpty()
           
 void testSetImaginaryCharacterNull()
           
 void testSetImaginaryFormatNull()
           
 void testSetRealFormatNull()
           
 void testSimpleNoDecimals()
           
 void testSimpleWithDecimals()
           
 void testSimpleWithDecimalsTrunc()
           
 void testStaticFormatComplex()
           
 void testZeroImaginary()
           
 void testZeroReal()
           
 
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

ComplexFormatAbstractTest

public ComplexFormatAbstractTest()
Method Detail

getLocale

protected abstract Locale getLocale()

getDecimalCharacter

protected abstract char getDecimalCharacter()

setUp

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

testSimpleNoDecimals

public void testSimpleNoDecimals()

testSimpleWithDecimals

public void testSimpleWithDecimals()

testSimpleWithDecimalsTrunc

public void testSimpleWithDecimalsTrunc()

testNegativeReal

public void testNegativeReal()

testNegativeImaginary

public void testNegativeImaginary()

testNegativeBoth

public void testNegativeBoth()

testZeroReal

public void testZeroReal()

testZeroImaginary

public void testZeroImaginary()

testDifferentImaginaryChar

public void testDifferentImaginaryChar()

testStaticFormatComplex

public void testStaticFormatComplex()

testNan

public void testNan()

testPositiveInfinity

public void testPositiveInfinity()

testNegativeInfinity

public void testNegativeInfinity()

testParseSimpleNoDecimals

public void testParseSimpleNoDecimals()

testParseSimpleWithDecimals

public void testParseSimpleWithDecimals()

testParseSimpleWithDecimalsTrunc

public void testParseSimpleWithDecimalsTrunc()

testParseNegativeReal

public void testParseNegativeReal()

testParseNegativeImaginary

public void testParseNegativeImaginary()

testParseNegativeBoth

public void testParseNegativeBoth()

testParseZeroReal

public void testParseZeroReal()

testParseZeroImaginary

public void testParseZeroImaginary()

testParseDifferentImaginaryChar

public void testParseDifferentImaginaryChar()

testParseNan

public void testParseNan()

testParsePositiveInfinity

public void testParsePositiveInfinity()

testPaseNegativeInfinity

public void testPaseNegativeInfinity()

testConstructorSingleFormat

public void testConstructorSingleFormat()

testGetImaginaryFormat

public void testGetImaginaryFormat()

testSetImaginaryFormatNull

public void testSetImaginaryFormatNull()

testSetRealFormatNull

public void testSetRealFormatNull()

testGetRealFormat

public void testGetRealFormat()

testSetImaginaryCharacterNull

public void testSetImaginaryCharacterNull()

testSetImaginaryCharacterEmpty

public void testSetImaginaryCharacterEmpty()

testFormatNumber

public void testFormatNumber()

testFormatObject

public void testFormatObject()

testForgottenImaginaryCharacter

public void testForgottenImaginaryCharacter()


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