aboutsummaryrefslogtreecommitdiff
path: root/contrib/libcbor/examples/bazel/src/hello_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libcbor/examples/bazel/src/hello_test.cc')
-rw-r--r--contrib/libcbor/examples/bazel/src/hello_test.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/libcbor/examples/bazel/src/hello_test.cc b/contrib/libcbor/examples/bazel/src/hello_test.cc
new file mode 100644
index 000000000000..68d8633c8772
--- /dev/null
+++ b/contrib/libcbor/examples/bazel/src/hello_test.cc
@@ -0,0 +1,10 @@
+#include "src/hello.h"
+
+#include "gtest/gtest.h"
+
+class HelloTest : public ::testing::Test {};
+
+TEST_F(HelloTest, CborVersion) {
+ EXPECT_EQ(cbor_version(), 0);
+}
+