Class FloatScalarTest.MathTester

    • Constructor Detail

      • MathTester

        MathTester()
    • Method Detail

      • tester

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