Coverage Report

Created: 2024-04-30 09:35

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