Package org.djunits.value.vfloat.matrix
Class FloatDimensionlessMatrixTest
java.lang.Object
org.djunits.value.vfloat.matrix.FloatDimensionlessMatrixTest
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the methods that are only implemented in DimensionLess matrices.static void
verifyDimensionLessMatrix
(float[][] reference, FloatFunction operation, FloatDimensionlessMatrix got) Verify the contents of a FloatDimensionlessVector.
-
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, FloatFunction operation, FloatDimensionlessMatrix got) Verify the contents of a FloatDimensionlessVector.- Parameters:
reference
- float[]; the values on which theoperation
needs to be applied to get the values that must be verifiedoperation
- FloatFunction; the operation that converts thereference
values to the values that must be verifiedgot
- DimensionlessMatrix; the values that must be verified
-