abstract static class FloatScalarTest.MathTester extends Object
Constructor and Description |
---|
MathTester() |
Modifier and Type | Method and Description |
---|---|
static void |
tester(float inputValue,
String operation,
org.djunits.value.vfloat.scalar.AbstractFloatScalar<?,?> actualResult,
double precision,
FloatScalarTest.FloatToFloat function)
Test a math function.
|
public static void tester(float inputValue, String operation, org.djunits.value.vfloat.scalar.AbstractFloatScalar<?,?> actualResult, double precision, FloatScalarTest.FloatToFloat function)
inputValue
- float; unprocessed valueoperation
- String; description of method that is being testedactualResult
- FloatScalar<?>; 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.