assertEqual

Compare a and b and throw an Error if they are not equal.

@nogc nothrow pure @safe
void
assertEqual
(
A
B
)
(
in A a
,
in B b
,
in string file = __FILE__
,
in int line = __LINE__
)

Parameters

a A

left-hand side expression

b B

right-hand side expression

Meta