Class DoubleDimensionlessMatrixTest

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

public class DoubleDimensionlessMatrixTest 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

    • DoubleDimensionlessMatrixTest

      public DoubleDimensionlessMatrixTest()
  • Method Details

    • testDimensionLess

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

      public static void verifyDimensionLessMatrix(double[][] reference, DoubleFunction operation, DimensionlessMatrix got)
      Verify the contents of a FloatDimensionlessVector.
      Parameters:
      reference - double[]; 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