org.apache.commons.math.util
Class ResizableDoubleArrayTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.util.DoubleArrayAbstractTest
              extended by org.apache.commons.math.util.ResizableDoubleArrayTest
All Implemented Interfaces:
junit.framework.Test

public class ResizableDoubleArrayTest
extends DoubleArrayAbstractTest

This class contains test cases for the ResizableDoubleArray.

Version:
$Revision: 480442 $ $Date: 2006-11-29 00:21:22 -0700 (Wed, 29 Nov 2006) $

Field Summary
 
Fields inherited from class org.apache.commons.math.util.DoubleArrayAbstractTest
da, ra
 
Constructor Summary
ResizableDoubleArrayTest(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAdd1000()
           
 void testAddElementRolling()
           
 void testConstructors()
           
 void testDiscard()
           
 void testMutators()
           
 void testSetElementArbitraryExpansion()
           
 void testSetNumberOfElements()
           
 void testWithInitialCapacity()
           
 void testWithInitialCapacityAndExpansionFactor()
           
 
Methods inherited from class org.apache.commons.math.util.DoubleArrayAbstractTest
testGetValues, testMinMax
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResizableDoubleArrayTest

public ResizableDoubleArrayTest(java.lang.String name)
Method Detail

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

setUp

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

testConstructors

public void testConstructors()

testSetElementArbitraryExpansion

public void testSetElementArbitraryExpansion()

testAdd1000

public void testAdd1000()
Overrides:
testAdd1000 in class DoubleArrayAbstractTest

testAddElementRolling

public void testAddElementRolling()
Overrides:
testAddElementRolling in class DoubleArrayAbstractTest

testSetNumberOfElements

public void testSetNumberOfElements()

testWithInitialCapacity

public void testWithInitialCapacity()

testWithInitialCapacityAndExpansionFactor

public void testWithInitialCapacityAndExpansionFactor()

testDiscard

public void testDiscard()

testMutators

public void testMutators()


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