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