org.apache.commons.math.linear
Class RealVectorFormatAbstractTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.linear.RealVectorFormatAbstractTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
FrenchRealVectorFormatTest, RealVectorFormatTest

public abstract class RealVectorFormatAbstractTest
extends junit.framework.TestCase


Constructor Summary
RealVectorFormatAbstractTest()
           
 
Method Summary
protected abstract  char getDecimalCharacter()
           
protected abstract  Locale getLocale()
           
 void setUp()
           
 void tesNegativeInfinity()
           
 void testConstructorSingleFormat()
           
 void testForgottenPrefix()
           
 void testForgottenSeparator()
           
 void testForgottenSuffix()
           
 void testFormatObject()
           
 void testNan()
           
 void testNegativeX()
           
 void testNegativeY()
           
 void testNegativeZ()
           
 void testNonDefaultSetting()
           
 void testParseIgnoredWhitespace()
           
 void testParseManyComponents()
           
 void testParseNan()
           
 void testParseNegativeAll()
           
 void testParseNegativeInfinity()
           
 void testParseNegativeX()
           
 void testParseNegativeY()
           
 void testParseNegativeZ()
           
 void testParseNoComponents()
           
 void testParseNonDefaultSetting()
           
 void testParsePositiveInfinity()
           
 void testParseSimpleNoDecimals()
           
 void testParseSimpleWithDecimals()
           
 void testParseSimpleWithDecimalsTrunc()
           
 void testParseZeroX()
           
 void testPositiveInfinity()
           
 void testSimpleNoDecimals()
           
 void testSimpleWithDecimals()
           
 void testSimpleWithDecimalsTrunc()
           
 void testStaticFormatRealVectorImpl()
           
 
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

RealVectorFormatAbstractTest

public RealVectorFormatAbstractTest()
Method Detail

getLocale

protected abstract Locale getLocale()

getDecimalCharacter

protected abstract char getDecimalCharacter()

setUp

public 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()

testNegativeX

public void testNegativeX()

testNegativeY

public void testNegativeY()

testNegativeZ

public void testNegativeZ()

testNonDefaultSetting

public void testNonDefaultSetting()

testStaticFormatRealVectorImpl

public void testStaticFormatRealVectorImpl()

testNan

public void testNan()

testPositiveInfinity

public void testPositiveInfinity()

tesNegativeInfinity

public void tesNegativeInfinity()

testParseSimpleNoDecimals

public void testParseSimpleNoDecimals()

testParseIgnoredWhitespace

public void testParseIgnoredWhitespace()

testParseSimpleWithDecimals

public void testParseSimpleWithDecimals()

testParseSimpleWithDecimalsTrunc

public void testParseSimpleWithDecimalsTrunc()

testParseNegativeX

public void testParseNegativeX()

testParseNegativeY

public void testParseNegativeY()

testParseNegativeZ

public void testParseNegativeZ()

testParseNegativeAll

public void testParseNegativeAll()

testParseZeroX

public void testParseZeroX()

testParseNonDefaultSetting

public void testParseNonDefaultSetting()

testParseNan

public void testParseNan()

testParsePositiveInfinity

public void testParsePositiveInfinity()

testParseNegativeInfinity

public void testParseNegativeInfinity()

testParseNoComponents

public void testParseNoComponents()

testParseManyComponents

public void testParseManyComponents()
                             throws ParseException
Throws:
ParseException

testConstructorSingleFormat

public void testConstructorSingleFormat()

testFormatObject

public void testFormatObject()

testForgottenPrefix

public void testForgottenPrefix()

testForgottenSeparator

public void testForgottenSeparator()

testForgottenSuffix

public void testForgottenSuffix()


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