Skip to content

Commit

Permalink
minimal_test.cpp: Additional test to simply verify that gtest does wo…
Browse files Browse the repository at this point in the history
…rk fine.
  • Loading branch information
ivucica authored Sep 18, 2024
1 parent 3fb0c11 commit 8125a2e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions minimal_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 8125a2e

Please sign in to comment.