GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: tmp_project/StringUtils/TESTS/TEST_PHOENIX_ASSERT/main.cpp Lines: 7 7 100.0 %
Date: 2024-12-09 15:30:52 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

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