Class BigDecRelationalTest
java.lang.Object
com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest
Tests for
BigDecRelational-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidtest(Object v1, BigDecRelational pfmc, Object v2, boolean result) Performs test on the class with a set operator type.voidvoidvoidvoidvoidtestExceptionCases(Object v1, Object v2) Generic method for comparing two value where all operators are expected to throw an exception.voidvoidvoid
-
Field Details
-
PRINT_RESULTS
public static final boolean PRINT_RESULTS
-
-
Constructor Details
-
BigDecRelationalTest
public BigDecRelationalTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
testDefaults
@Test public void testDefaults() -
testNumbers
@Test public void testNumbers() -
testBools
@Test public void testBools() -
testStrings
@Test public void testStrings() -
testStringNumber
@Test public void testStringNumber() -
testBoolNumber
@Test public void testBoolNumber() -
testBoolString
@Test public void testBoolString() -
testExceptionCases
Generic method for comparing two value where all operators are expected to throw an exception.- Parameters:
v1- Value 1v2- Value 2
-
test
Performs test on the class with a set operator type. Checks whether application of the operator tov1andv2results inresult.
-