Expect.toEqual

Succeeds if received == expected. Throws a FailingExpectationError otherwise.

struct Expect(TReceived)
void
toEqual
(
TExpected
)
(
const auto ref TExpected expected
)
if (
canCompareForEquality!(TReceived, TExpected)
)

Meta