net.sourceforge.swimp.test.coin
Class TestCoinPackedVector

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sourceforge.swimp.test.util.SwimpBaseTestCase
              extended by net.sourceforge.swimp.test.coin.AbstractTestCoinPackedVectorBase
                  extended by net.sourceforge.swimp.test.coin.TestCoinPackedVector
All Implemented Interfaces:
junit.framework.Test

public class TestCoinPackedVector
extends AbstractTestCoinPackedVectorBase

Author:
schickin

Field Summary
 
Fields inherited from class net.sourceforge.swimp.test.coin.AbstractTestCoinPackedVectorBase
denseValues, indices, values
 
Fields inherited from class net.sourceforge.swimp.test.util.SwimpBaseTestCase
tmpFilePrefix, tmpFileSuffix
 
Constructor Summary
TestCoinPackedVector(java.lang.String arg0)
          Constructor for TestCoinShallowPackedVectorBase.
 
Method Summary
protected  CoinPackedVectorBase getVector()
          Return a vector based on the static indices and values for the fixture.
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAlgebraicOperations()
           
 void testAppend()
           
 void testAssign()
           
 void testClear()
           
 void testCreateConstantValue()
           
 void testCreateDense()
           
 void testGetNumElements()
           
 void testGetOriginalPosition()
           
 void testInsert()
           
 void testSetConstant()
           
 void testSetElement()
           
 void testSetFull()
           
 void testSetFullNonZero()
           
 void testSetVector()
           
 void testTruncate()
           
 
Methods inherited from class net.sourceforge.swimp.test.coin.AbstractTestCoinPackedVectorBase
testDenseVectorAccess, testDotProd, testEquals, testEquivalent, testFindIndex, testGetElement, testGetElements, testGetIndex, testGetIndices, testGetItem, testInfNorm, testIsExistingIndex, testMinMaxIndex, testOneNorm, testSumValues, testTwoNorm
 
Methods inherited from class net.sourceforge.swimp.test.util.SwimpBaseTestCase
getSwimpProperties, getSwimpRootDir, getTestDataFile
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCoinPackedVector

public TestCoinPackedVector(java.lang.String arg0)
Constructor for TestCoinShallowPackedVectorBase.

Parameters:
arg0 -
Method Detail

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractTestCoinPackedVectorBase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class AbstractTestCoinPackedVectorBase
Throws:
java.lang.Exception

getVector

protected CoinPackedVectorBase getVector()
Description copied from class: AbstractTestCoinPackedVectorBase
Return a vector based on the static indices and values for the fixture.

Specified by:
getVector in class AbstractTestCoinPackedVectorBase
Returns:
a vector for the fixture

testGetNumElements

public void testGetNumElements()
Overrides:
testGetNumElements in class AbstractTestCoinPackedVectorBase

testCreateDense

public void testCreateDense()

testCreateConstantValue

public void testCreateConstantValue()

testClear

public void testClear()

testAssign

public void testAssign()

testSetVector

public void testSetVector()

testSetConstant

public void testSetConstant()

testSetFull

public void testSetFull()

testSetFullNonZero

public void testSetFullNonZero()

testSetElement

public void testSetElement()

testInsert

public void testInsert()

testAppend

public void testAppend()

testTruncate

public void testTruncate()

testAlgebraicOperations

public void testAlgebraicOperations()

testGetOriginalPosition

public void testGetOriginalPosition()