The value to test.
The value it should be less or equal than.
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 less or equal, will throw an UnitTestException with expected and actual values.
// Will throw an exception like "UnitTestException@example.d(6): <5> expected to be less or equal to <10>." 10.shouldBeLessOrEqual(5);
Used to assert that one value is less or equal than another value.