Used to assert that value is between two values.
The expected value
The expected left value of range.
The expected right value of range.
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, 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.shouldBeBetween(15, 20);