The value.
The expected value.
The 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 values are not equal, will throw an UnitTestException with expected and actual values.
// Will throw an exception like "checkit.exception.UnitTestException@example.d(6): <3> expected to equal <5>." int z = 3; z.shouldEqual(5);
Used to assert that one value is equal to another value.