stickfosh/cpp/tests/lib.hpp
2025-02-02 16:26:46 +01:00

13 lines
608 B
C++

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