diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-25 19:01:44 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-26 13:30:53 +0100 |
commit | 859ecb6b4b9845006c14a20da21f5ec8c4fb085e (patch) | |
tree | a94072963ba017a51dc767f147fd6f8aa7fcb19d /tests/test_cases/deps/cmake/main.cpp | |
parent | 3979ba259fe932c408844c5b43a9fdf77067230d (diff) | |
download | rules-cc-859ecb6b4b9845006c14a20da21f5ec8c4fb085e.tar.gz |
Test creating libraries from CMake project
Diffstat (limited to 'tests/test_cases/deps/cmake/main.cpp')
-rw-r--r-- | tests/test_cases/deps/cmake/main.cpp | 8 |
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(); +} |