PhoenixInkscape  2.0.0
Generate multiple png files with svg inkscape files
main.cpp File Reference
#include <iostream>
#include "phoenix_assert.h"
#include "phoenix_check.h"
#include "PString.h"
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void testCheck ()
 Test the check. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 23 of file main.cpp.

23  {
24  testCheck();
25  return 0;
26 }
void testCheck()
Test the check.
Definition: main.cpp:14

References testCheck().

+ Here is the call graph for this function:

◆ testCheck()

void testCheck ( )

Test the check.

Definition at line 14 of file main.cpp.

14  {
15  phoenix_assert(phoenix_check("Test which is working", PString("string"), PString("string")));
16  phoenix_assert(!phoenix_check("Test which is not working", PString("string"), PString("not the same string")));
17 
18  std::vector<size_t> vecValue{1lu, 2lu, 3lu}, vecOtherValue{1lu, 3lu, 2lu};
19  phoenix_assert(phoenix_check("Test which is working", vecValue, vecValue));
20  phoenix_assert(!phoenix_check("Test which is not working", vecValue, vecOtherValue));
21 }
Extends the std::string.
Definition: PString.h:16
#define phoenix_assert(isOk)
bool phoenix_check(const std::string &testName, const std::string &val, const std::string &reference)
Check two string.

References phoenix_assert, and phoenix_check().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: