Class FloatDimensionlessMatrixTest

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

public class FloatDimensionlessMatrixTest extends Object
Test.java.

Copyright (c) 2019-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License

Author:
Alexander Verbraeck
  • Constructor Details

    • FloatDimensionlessMatrixTest

      public FloatDimensionlessMatrixTest()
  • Method Details

    • testDimensionLess

      @Test public void testDimensionLess()
      Test the methods that are only implemented in DimensionLess matrices.
    • verifyDimensionLessMatrix

      public static void verifyDimensionLessMatrix(float[][] reference, org.djunits.value.vfloat.function.FloatFunction operation, org.djunits.value.vfloat.matrix.FloatDimensionlessMatrix got)
      Verify the contents of a FloatDimensionlessVector.
      Parameters:
      reference - float[]; the values on which the operation needs to be applied to get the values that must be verified
      operation - FloatFunction; the operation that converts the reference values to the values that must be verified
      got - DimensionlessMatrix; the values that must be verified