Line | Count | Source |
1 | #include "zserio/CppRuntimeVersion.h" | |
2 | ||
3 | #include "gtest/gtest.h" | |
4 | ||
5 | TEST(CppRuntimeVersionTest, checkVersion) | |
6 | 1 | { |
7 | // this test just uses macro CPP_EXTENSION_RUNTIME_VERSION_NUMBER to check clang-tidy warnings | |
8 | #if CPP_EXTENSION_RUNTIME_VERSION_NUMBER < 1000000 | |
9 | #error Zserio runtime library version is too old! | |
10 | #endif | |
11 | 1 | } |