Class DoubleMatrixMethodTest

java.lang.Object
org.djunits.value.vdouble.matrix.DoubleMatrixMethodTest

public class DoubleMatrixMethodTest extends Object
...
  • Constructor Details

    • DoubleMatrixMethodTest

      public DoubleMatrixMethodTest()
  • Method Details

    • testMatrixMethods

      @Test public void testMatrixMethods() throws ValueRuntimeException, UnitException
      Test the standard methods of all matrix classes.
      Throws:
      UnitException - on error
      ValueRuntimeException - 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.