Class FloatScalarTest.MathTester

java.lang.Object
org.djunits.value.vfloat.scalar.FloatScalarTest.MathTester
Enclosing class:
FloatScalarTest

abstract static class FloatScalarTest.MathTester extends Object
  • Constructor Details

    • MathTester

      MathTester()
  • Method Details

    • tester

      public static void tester(float inputValue, String operation, FloatScalar<?,?> actualResult, float precision, FloatScalarTest.FloatToFloat function)
      Test a math function.
      Parameters:
      inputValue - float; unprocessed value
      operation - String; description of method that is being tested
      actualResult - FloatScalar<?>; the actual result of the operation
      precision - float; expected accuracy
      function - FloatToFloat; encapsulated function that converts one inputValue to an outputValue