Package org.djunits.value.vfloat.matrix
Class FloatMatrixMethodTest
java.lang.Object
org.djunits.value.vfloat.matrix.FloatMatrixMethodTest
...
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Execute a mats++-like memory test on a sparse matrix.void
Test the sparse value class.void
Test the equals method.void
Test if mutable methods give an error in case the matrix is immutable.void
Test the instantiateAbs method and instantiateScalarAbsSI method.void
Test the standard methods of all matrix classes.void
Test toString() methods.void
Test the extra methods that Absolute and Relative with Absolute matrices implement.
-
Constructor Details
-
FloatMatrixMethodTest
public FloatMatrixMethodTest()
-
-
Method Details
-
testMatrixMethods
Test the standard methods of all matrix classes.- Throws:
UnitException
- on errorValueRuntimeException
- on error
-
testImmutableMatrix
@Test public void testImmutableMatrix()Test if mutable methods give an error in case the matrix is immutable. -
testMatrixToString
@Test public void testMatrixToString()Test toString() methods. TODO: expand? -
testSpecialMatrixMethodsRelWithAbs
@Test public void testSpecialMatrixMethodsRelWithAbs()Test the extra methods that Absolute and Relative with Absolute matrices implement. -
memoryTest
@Test public void memoryTest()Execute a mats++-like memory test on a sparse matrix. See Memory Test. -
testInstantiateAbs
@Test public void testInstantiateAbs()Test the instantiateAbs method and instantiateScalarAbsSI method. -
testEquals
@Test public void testEquals()Test the equals method. -
sparseValueTest
@Test public void sparseValueTest()Test the sparse value class.
-