GCC Code Coverage Report


Directory: ./
File: TESTS/TEST_PHOENIX_ASSERT/main.cpp
Date: 2024-11-07 16:05:26
Exec Total Coverage
Lines: 7 7 100.0%
Branches: 4 4 100.0%

Line Branch Exec Source
1
2 /***************************************
3 Auteur : Pierre Aubert
4 Mail : pierre.aubert@lapp.in2p3.fr
5 Licence : CeCILL-C
6 ****************************************/
7
8 #include "phoenix_assert.h"
9
10 ///Check the phoenix_assert macro
11 /** @param callAssert : true is the assert is OK, false if not
12 */
13 1 void testCallAssert(bool callAssert){
14
4/4
✓ Branch 2 taken 1 times.
✓ Branch 6 taken 1 times.
✓ Branch 10 taken 1 times.
✓ Branch 13 taken 1 times.
1 phoenix_assert(callAssert);
15 1 }
16
17 1 int main(int argc, char** argv){
18 1 bool callAssert(argc >= 2);
19 1 testCallAssert(callAssert);
20 1 return 0;
21 }
22
23
24