Updated the core submodule and make the tests pass (in a very crude way).
This commit is contained in:
Submodule libs/GenericCore updated: b631f4200e...7ec346b5a5
@ -9,7 +9,9 @@ inline void PrintTo(const QString& qString, ::std::ostream* os) { *os << qUtf8Pr
|
||||
QT_END_NAMESPACE
|
||||
|
||||
TEST(CoreTests, TestEqualString) {
|
||||
const auto expected = "GenericCore (Version x.y.z)";
|
||||
const QString coreName("GenericCore");
|
||||
const QString coreVersion("0.0.1");
|
||||
const auto expected = QString("%1 (Version %2)").arg(coreName).arg(coreVersion);
|
||||
auto core = std::make_unique<GenericCore>();
|
||||
const auto actual = core->toString();
|
||||
// const auto actual = multiply(1, 1);
|
||||
@ -17,8 +19,8 @@ TEST(CoreTests, TestEqualString) {
|
||||
}
|
||||
|
||||
TEST(CoreTests, TestNotEqualString) {
|
||||
const auto expected = "Hello from the Core!";
|
||||
const QString expected = QString("Hello from the Core!");
|
||||
auto core = std::make_unique<GenericCore>();
|
||||
const auto actual = core->toString();
|
||||
const QString actual = core->toString();
|
||||
ASSERT_NE(expected, actual);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user