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