GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: test/zserio/CppRuntimeVersionTest.cpp Lines: 2 2 100.0 %
Date: 2023-12-13 14:51:09 Branches: 6 12 50.0 %

Line Branch Exec Source
1
#include "zserio/CppRuntimeVersion.h"
2
3
#include "gtest/gtest.h"
4
5


802
TEST(CppRuntimeVersionTest, checkVersion)
6
{
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

2395
}