From 8125a2ee5ef5bfe63f4663fd25502f6b84c44d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Vu=C4=8Dica?= Date: Wed, 18 Sep 2024 00:21:53 +0000 Subject: [PATCH] minimal_test.cpp: Additional test to simply verify that gtest does work fine. --- minimal_test.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/minimal_test.cpp b/minimal_test.cpp index 1a7bbf76..4e8952d5 100644 --- a/minimal_test.cpp +++ b/minimal_test.cpp @@ -32,6 +32,9 @@ TEST(StrReplaceTest, BasicAssertions) { auto want = "hi world"; EXPECT_STREQ(got.c_str(), want); - // Expect equality. - //EXPECT_EQ(7 * 6, 42); } + +TEST(EqualityTest, BasicAssertions) { + // Expect equality. + EXPECT_EQ(7 * 6, 42); +} \ No newline at end of file