aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/2 gtest/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/frameworks/2 gtest/test.cc')
-rw-r--r--meson/test cases/frameworks/2 gtest/test.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/2 gtest/test.cc b/meson/test cases/frameworks/2 gtest/test.cc
new file mode 100644
index 000000000..21efd6816
--- /dev/null
+++ b/meson/test cases/frameworks/2 gtest/test.cc
@@ -0,0 +1,9 @@
+#include<gtest/gtest.h>
+
+TEST(basic_test, eq_works) {
+ ASSERT_EQ(0, 1-1) << "Equality is broken. Mass panic!";
+}
+
+TEST(basic_test, neq_works) {
+ ASSERT_NE(15, 106) << "Inequal is equal. The foundations of space and time are in jeopardy.";
+}