Package com.singularsys.jeptests.unit.bigdecimal.functions

# Class BigDecRelationalTest

java.lang.Object
com.singularsys.jeptests.unit.bigdecimal.functions.BigDecRelationalTest

@Tag("big-decimals") public class BigDecRelationalTest extends Object
Tests for `BigDecRelational`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final boolean`
  `PRINT_RESULTS`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BigDecRelationalTest()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setUp()`
  `void`
  `test(Object v1, BigDecRelational pfmc, Object v2, boolean result)`
  Performs test on the class with a set operator type.
  `void`
  `testBoolNumber()`
  `void`
  `testBools()`
  `void`
  `testBoolString()`
  `void`
  `testDefaults()`
  `void`
  `testExceptionCases(Object v1, Object v2)`
  Generic method for comparing two value where all operators are expected to throw an exception.
  `void`
  `testNumbers()`
  `void`
  `testStringNumber()`
  `void`
  `testStrings()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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

    public void testExceptionCases(Object v1, Object v2)
    Generic method for comparing two value where all operators are expected to throw an exception.
    Parameters:
      `v1` - Value 1
      `v2` - Value 2

  - ### test

    public void test(Object v1, BigDecRelational pfmc, Object v2, boolean result)
    Performs test on the class with a set operator type. Checks whether application of the operator to `v1` and `v2` results in `result`.