abstract static class FloatVectorSparseTest.MathTester extends Object
Constructor and Description |
---|
MathTester() |
Modifier and Type | Method and Description |
---|---|
static void |
tester(float[] inputValues,
String operation,
org.djunits.value.vfloat.vector.AbstractFloatVector<?,?> actualResult,
double precision,
FloatVectorSparseTest.FloatToFloat function)
Test a math function.
|
public static void tester(float[] inputValues, String operation, org.djunits.value.vfloat.vector.AbstractFloatVector<?,?> actualResult, double precision, FloatVectorSparseTest.FloatToFloat function)
inputValues
- float[]; unprocessed valueoperation
- String; description of method that is being testedactualResult
- FloatVector<?>; the actual result of the operationprecision
- double; expected accuracyfunction
- FloatToFloat; encapsulated function that converts one inputValue to an outputValueCopyright © 2015–2019 Delft University of Technology. All rights reserved.