GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: tmp_project/StringUtils/TESTS/TEST_WHOAMI/main.cpp Lines: 7 7 100.0 %
Date: 2024-12-09 15:30:52 Branches: 6 6 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 <iostream>
9
#include "phoenix_assert.h"
10
#include "phoenix_whoami.h"
11
12
///Test the whoami function
13
1
void testStringWhoAmI(){
14
1
	std::string name(phoenix_whoami());
15

1
	phoenix_assert(name != "");
16
1
}
17
18
1
int main(int argc, char** argv){
19
1
	testStringWhoAmI();
20
1
	return 0;
21
}
22