expect_equal, then returns from the calling procedure on a failure.
- got: the value under test.
- want: the value it must equal.
- loc: where the check is written, shown when it fails. Leave the default.
require_equal :: (got: $T, want: $U, loc := #caller_location)
expect_equal, then returns from the calling procedure on a failure.
Parameters
- got: $T
- the value under test.
- want: $U
- the value it must equal.
- loc := #caller_location
- where the check is written, shown when it fails. Leave the default.