Package org.djunits.value.vdouble.matrix
Class DoubleMatrixMethodTest
java.lang.Object
org.djunits.value.vdouble.matrix.DoubleMatrixMethodTest
...
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecute a mats++-like memory test on a sparse matrix.voidTest the sparse value class.voidTest the equals method.voidTest if mutable methods give an error in case the matrix is immutable.voidTest the instantiateAbs method and instantiateScalarAbsSI method.voidTest the standard methods of all matrix classes.voidTest toString() methods.final voidTest setDisplayUnit.voidTest the extra methods that Absolute and Relative with Absolute matrices implement.
-
Constructor Details
-
DoubleMatrixMethodTest
public DoubleMatrixMethodTest()
-
-
Method Details
-
testMatrixMethods
Test the standard methods of all matrix classes.- Throws:
UnitException- on errorValueRuntimeException- on error
-
testSetDisplayUnit
@Test public final void testSetDisplayUnit()Test setDisplayUnit. -
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.
-