Class Utilities
java.lang.Object
com.singularsys.jeptests.unit.functions.Utilities
Utilities for constructing tests on functions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidtestBDBinary(PostfixMathCommand pfmc, double l, double r, String string) static voidtestBDUnary(PostfixMathCommand pfmc, double l, String string) static voidtestBinary(PostfixMathCommand pfmc, double l, double r, double expected) static voidtestBinary(PostfixMathCommand pfmc, Object l, Object r, Object expected) static voidtestUnary(PostfixMathCommand pfmc, double arg, double expected) Utility method for testing unary methodsstatic voidtestUnary(PostfixMathCommand pfmc, Object l, Object expected)
-
Constructor Details
-
Utilities
public Utilities()
-
-
Method Details
-
testUnary
Utility method for testing unary methods- Parameters:
pfmc-arg-expected-
-
testBinary
-
testBDBinary
-
testBinary
-
testUnary
-
testBDUnary
-