GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 5 / 0 / 5
Functions: -% 0 / 1 / 1
Branches: -% 0 / 0 / 0
Decisions: -% 0 / - / 0

firmware/libfirmware/util/test/test_manifest.cpp
Line Branch Decision Exec Source
1 #include <gtest/gtest.h>
2
3 #include <rusefi/manifest.h>
4
5 4 TEST(Util, manifest) {
6 1 int year = compilationYear();
7 1 ASSERT_TRUE(year >= 2023 && year <= 2123);
8
9 1 int month = compilationMonth();
10 1 ASSERT_TRUE(month >= 1 && month <= 12);
11 }
12