Add example test file
This commit is contained in:
parent
909f09a474
commit
f27f432e77
9
test/hello_test.cc
Normal file
9
test/hello_test.cc
Normal file
@ -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);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user