| GCC Code Coverage Report | |||||||||||||||||||||
|
|||||||||||||||||||||
| Line | Branch | Exec | Source |
1 |
/*************************************** |
||
2 |
Auteur : Pierre Aubert |
||
3 |
Mail : pierre.aubert@lapp.in2p3.fr |
||
4 |
Licence : CeCILL-C |
||
5 |
****************************************/ |
||
6 |
|||
7 |
#include "data_stream_assert.h" |
||
8 |
#include "data_stream_isSimpleType.h" |
||
9 |
|||
10 |
///Test if data size is Ok |
||
11 |
1 |
void testIsSimpleType(){ |
|
12 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<float>()); |
13 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<double>()); |
14 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<bool>()); |
15 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<char>()); |
16 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<short>()); |
17 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<int>()); |
18 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<long>()); |
19 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<unsigned char>()); |
20 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<unsigned short>()); |
21 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<unsigned int>()); |
22 |
✓✓✓✓ ✓ |
1 |
data_stream_assert(data_stream_isSimpleType<unsigned long>()); |
23 |
1 |
} |
|
24 |
|||
25 |
|||
26 |
1 |
int main(int argc, char** argv){ |
|
27 |
1 |
testIsSimpleType(); |
|
28 |
1 |
return 0; |
|
29 |
} |
||
30 |
| Generated by: GCOVR (Version 4.2) |