stickfosh/cpp/tests/lib.hpp

13 lines
608 B
C++
Raw Normal View History

#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; \
}