GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 28.6% 2 / 0 / 7
Functions: 50.0% 1 / 0 / 2
Branches: 0.0% 0 / 0 / 2
Decisions: 0.0% 0 / - / 2

unit_tests/test-framework/unit_test_framework.cpp
Line Branch Decision Exec Source
1 /*
2 * @file unit_test_framework.cpp
3 *
4 * Created on: Mar 4, 2018
5 * @author Andrey Belomutskiy, (c) 2012-2020
6 */
7
8 #include "pch.h"
9
10 #include <stdlib.h>
11
12 void chDbgAssert(int c, char *msg, void *arg) {
13 if (!c) {
14 printf("assert failed: %s\r\n", msg);
15 exit(-1);
16 }
17 }
18
19 79316 uint32_t getTimeNowLowerNt(void) {
20 79316 return 0;
21 }
22