Class DoubleScalarTest.MathTester

    • Constructor Detail

      • MathTester

        MathTester()
    • Method Detail

      • tester

        public static void tester​(double inputValue,
                                  String operation,
                                  AbstractDoubleScalar<?,​?> 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