Class FloatMatrixMethodTest

java.lang.Object
org.djunits.value.vfloat.matrix.FloatMatrixMethodTest

public class FloatMatrixMethodTest extends Object
...
  • Constructor Details

    • FloatMatrixMethodTest

      public FloatMatrixMethodTest()
  • Method Details

    • testMatrixMethods

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