#include #include #include "../../libs/GenericCore/genericcore.h" QT_BEGIN_NAMESPACE inline void PrintTo(const QString& qString, ::std::ostream* os) { *os << qUtf8Printable(qString); } QT_END_NAMESPACE TEST(CoreTests, TestEqualString) { const auto expected = "GenericCore (Version x.y.z)"; auto core = std::make_unique(); const auto actual = core->toString(); // const auto actual = multiply(1, 1); ASSERT_EQ(expected, actual); } TEST(CoreTests, TestNotEqualString) { const auto expected = "Hello from the Core!"; auto core = std::make_unique(); const auto actual = core->toString(); ASSERT_NE(expected, actual); }