SysTestAssert.assertRealEquals Method [AX 2012]
Checks whether two values are equal with regard to a delta.
To use this method, create a class that extends the SysTestCase class and then add a method to provide your test logic. For an example of how to use an assertion method, see How to: Create a Test Case.
The following table describes the values in the example described that is shown here.
|
Description |
Variable |
|---|---|
|
Actual |
A |
|
Expected |
B |
|
Delta |
d |
This test is true if (B - d) < A < (B + d).
Community Additions
ADD
Show: