PhoenixInkscape  2.0.0
Generate multiple png files with svg inkscape files
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 <iostream>
9 #include "phoenix_assert.h"
10 #include "phoenix_check.h"
11 #include "PString.h"
12 
14 void testCheck(){
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 
19 int main(int argc, char** argv){
20  testCheck();
21  return 0;
22 }
23 
24 
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.
int main(int argc, char **argv)
Definition: main.cpp:290
void testCheck()
Test the check.
Definition: main.cpp:14