PhoenixMock  1.8.7
Tools to split/merge/print mock used in Phoenix
main.cpp File Reference
#include "phoenix_assert.h"
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void testCallAssert (bool callAssert)
 Check the phoenix_assert macro. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 17 of file main.cpp.

17  {
18  bool callAssert(argc >= 2);
19  testCallAssert(callAssert);
20  return 0;
21 }

References testCallAssert().

+ Here is the call graph for this function:

◆ testCallAssert()

void testCallAssert ( bool  callAssert)

Check the phoenix_assert macro.

Parameters
callAssert: true is the assert is OK, false if not

Definition at line 13 of file main.cpp.

13  {
14  phoenix_assert(callAssert);
15 }

References phoenix_assert.

Referenced by main().

+ Here is the caller graph for this function:
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