fn expectEqual(expected: anytype, actual: @TypeOf(expected)) !void
[src]
This function is intended to be used only in tests. When the two values are not equal, prints diagnostics to stderr to show exactly how they are not equal, then returns a test failure error. actual
is casted to the type of expected
.