GCC Code Coverage Report
Directory:
./
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Coverage
Exec / Excl / Total
Lines:
100.0%
4 / 0 / 4
Functions:
-%
0 / 1 / 1
Branches:
-%
0 / 0 / 0
Decisions:
-%
0 / - / 0
List of functions
Function (File:Line)
Calls
Lines
Branches
Blocks
<unknown function 4> (unit_tests/tests/util/test_hash.cpp:4)
excluded
100.0%
-%
-%
unit_tests/tests/util/test_hash.cpp
4 covered
0 uncovered
0 partial covered
0 excluded
Line
Branch
Decision
Exec
Source
1
#include
"pch.h"
2
//#include "efilib.h"
3
4
4
TEST
(
util
,
hash
)
{
5
1
ASSERT_EQ
(
djb2lowerCase
(
"Hello1"
),
30950378
);
6
1
ASSERT_EQ
(
djb2lowerCase
(
"Hello2"
),
30950379
);
7
1
ASSERT_EQ
(
djb2lowerCase
(
"HELLO2"
),
30950379
);
8
}
9