summaryrefslogtreecommitdiffstatsci
path: root/gunit_tests/main2.cpp
blob: 35087665a23f2242251f477716ff4594f9ae8bde (plain)
1
2
3
4
5
6
7
8
9
#include <gtest/gtest.h>

// Demonstrate some basic assertions.
TEST(HelloTest, BasicAssertions) {
    // Expect two strings not to be equal.
    EXPECT_STRNE("hello", "world");
    // Expect equality.
    EXPECT_EQ(7 * 6, 42);
}