summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/cmake/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cases/deps/cmake/main.cpp')
-rw-r--r--tests/test_cases/deps/cmake/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_cases/deps/cmake/main.cpp b/tests/test_cases/deps/cmake/main.cpp
new file mode 100644
index 0000000..575a358
--- /dev/null
+++ b/tests/test_cases/deps/cmake/main.cpp
@@ -0,0 +1,8 @@
+#include <gtest/gtest.h>
+
+TEST(CastTest, float) { EXPECT_EQ(42.0f, float(42)); }
+
+int main(int argc, char **argv) {
+ ::testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}