PhoenixMock  1.8.7
Tools to split/merge/print mock used in Phoenix
main.cpp
Go to the documentation of this file.
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 
11 
13 void testCallAssert(bool callAssert){
14  phoenix_assert(callAssert);
15 }
16 
17 int main(int argc, char** argv){
18  bool callAssert(argc >= 2);
19  testCallAssert(callAssert);
20  return 0;
21 }
22 
23 
testCallAssert
void testCallAssert(bool callAssert)
Check the phoenix_assert macro.
Definition: main.cpp:13
phoenix_assert
#define phoenix_assert(isOk)
Definition: phoenix_assert.h:19
phoenix_assert.h
main
int main(int argc, char **argv)
Definition: main.cpp:85