org.apache.commons.math3.util
Class ResizableDoubleArrayTest

java.lang.Object
  extended by org.apache.commons.math3.util.DoubleArrayAbstractTest
      extended by org.apache.commons.math3.util.ResizableDoubleArrayTest

public class ResizableDoubleArrayTest
extends DoubleArrayAbstractTest

This class contains test cases for the ResizableDoubleArray.

Version:
$Id: ResizableDoubleArrayTest.java 1410121 2012-11-16 00:18:30Z erans $

Field Summary
 
Fields inherited from class org.apache.commons.math3.util.DoubleArrayAbstractTest
da, ra
 
Constructor Summary
ResizableDoubleArrayTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAdd1000()
           
 void testAddElementRolling()
           
 void testAddElements()
           
 void testCompute()
           
 void testConstructors()
           
 void testDiscard()
           
 void testEqualsAndHashCode()
           
 void testGetArrayRef()
           
 void testMutators()
           
 void testSetElementArbitraryExpansion1()
           
 void testSetElementArbitraryExpansion2()
           
 void testSetNumberOfElements()
           
 void testSubstitute()
           
 void testWithInitialCapacity()
           
 void testWithInitialCapacityAndExpansionFactor()
           
 
Methods inherited from class org.apache.commons.math3.util.DoubleArrayAbstractTest
testGetValues, testMinMax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizableDoubleArrayTest

public ResizableDoubleArrayTest()
Method Detail

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

setUp

public void setUp()
           throws Exception
Throws:
Exception

testConstructors

public void testConstructors()

testSetElementArbitraryExpansion1

public void testSetElementArbitraryExpansion1()

testSetElementArbitraryExpansion2

public void testSetElementArbitraryExpansion2()

testAdd1000

public void testAdd1000()
Overrides:
testAdd1000 in class DoubleArrayAbstractTest

testAddElements

public void testAddElements()

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

testSubstitute

public void testSubstitute()

testMutators

public void testMutators()

testEqualsAndHashCode

public void testEqualsAndHashCode()
                           throws Exception
Throws:
Exception

testGetArrayRef

public void testGetArrayRef()

testCompute

public void testCompute()


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