updated testing library
This commit is contained in:
parent
be016dcbcc
commit
5549c77177
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#define ASSERT_EQUALS(expected, actual) \
|
#define ASSERT_EQUALS(x, y) \
|
||||||
{ \
|
{ \
|
||||||
|
auto expected = x; \
|
||||||
|
auto actual = y; \
|
||||||
if (expected != actual) { \
|
if (expected != actual) { \
|
||||||
std::cerr << "Expected: " << std::endl \
|
std::cerr << "Expected: " << std::endl \
|
||||||
<< '\t' << expected << std::endl \
|
<< '\t' << expected << std::endl \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user