Class DoubleScalarTest.MathTester

java.lang.Object
org.djunits.value.vdouble.scalar.DoubleScalarTest.MathTester
Enclosing class:
DoubleScalarTest

abstract static class DoubleScalarTest.MathTester extends Object
  • Constructor Details

    • MathTester

      MathTester()
  • Method Details

    • tester

      public static void tester(double inputValue, String operation, org.djunits.value.vdouble.scalar.base.DoubleScalar<?,?> actualResult, double precision, DoubleScalarTest.DoubleToDouble function)
      Test a math function.
      Parameters:
      inputValue - double; unprocessed value
      operation - String; description of method that is being tested
      actualResult - DoubleScalar<?>; the actual result of the operation
      precision - double; expected accuracy
      function - DoubleToDouble; encapsulated function that converts one inputValue to an outputValue