GCC Code Coverage Report


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

unit_tests/tests/trigger/test_trigger_skipped_wheel.cpp
Line Branch Decision Exec Source
1 #include "pch.h"
2
3 #include "trigger_decoder.h"
4
5 4 TEST(trigger, testCustomSkipped) {
6
1/1
✓ Branch 2 taken 1 time.
1 EngineTestHelper eth(engine_type_e::TEST_ENGINE);
7
8 1 engineConfiguration->trigger.customTotalToothCount = 24;
9 1 engineConfiguration->trigger.customSkippedToothCount = 2;
10
1/1
✓ Branch 1 taken 1 time.
1 eth.setTriggerType(trigger_type_e::TT_TOOTHED_WHEEL);
11
12 2 }
13