shouldEqualPretty
- void shouldEqualPretty(lazy V value, lazy E expected, string file = __FILE__, size_t line = __LINE__)
void
shouldEqualPretty
@
trusted if (
!isAllSomeString!(V, E)
)
- void shouldEqualPretty(lazy V value, lazy E expected, lazy Separator sep, string file = __FILE__, size_t line = __LINE__)
- void shouldEqualPretty(lazy V value, lazy E expected, lazy string sep = newline, string file = __FILE__, size_t line = __LINE__)
Verify in lockstep that the two values are the same.
Useful when the values can be treated as ranges. The lockstep comparison then results in a more comprehensible failure message.
trusted: it only affects unittesting.