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 public void testMatrixMethods() throws org.djunits.value.ValueRuntimeException, org.djunits.unit.util.UnitExceptionTest the standard methods of all matrix classes.- Throws:
org.djunits.unit.util.UnitException
- on errororg.djunits.value.ValueRuntimeException
- on error
-
testImmutableMatrix
Test if mutable methods give an error in case the matrix is immutable. -
testMatrixToString
Test toString() methods. TODO: expand? -
testSpecialMatrixMethodsRelWithAbs
Test the extra methods that Absolute and Relative with Absolute matrices implement. -
memoryTest
Execute a mats++-like memory test on a sparse matrix. See Memory Test. -
testInstantiateAbs
Test the instantiateAbs method and instantiateScalarAbsSI method. -
testEquals
Test the equals method. -
sparseValueTest
Test the sparse value class.
-