The expected value
The expected left value of range.
The expected right value of range.
Exception message.
The file name that the assert failed in. Should be left as default.
The file line that the assert failed in. Should be left as default.
If the value is not between or equal, will throw an UnitTestException with expected and actual values.
// Will throw an exception like "UnitTestException@example.d(6): <5> expected to be between <15> and <20>." 10.shouldBeBetweenOrEqual(15, 20);
Used to assert that value is between or equal two values.