diff options
Diffstat (limited to 'test/hello_test.cc')
| -rw-r--r-- | test/hello_test.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/hello_test.cc b/test/hello_test.cc new file mode 100644 index 0000000..5a57e13 --- /dev/null +++ b/test/hello_test.cc @@ -0,0 +1,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); +} |
