stickfosh/cpp/tests/lib.cpp
Karma Riuk 53a0755547 extracted the assert equals to another file to
have mulitple test files
2025-02-02 14:52:13 +01:00

11 lines
587 B
C++

#pragma once
#define ASSERT_EQUALS(expected, actual) \
{ \
if (expected != actual) \
std::cout << "Expected: " << std::endl \
<< '\t' << expected << std::endl \
<< "Got: " << std::endl \
<< '\t' << actual << std::endl; \
}