17 bool phoenix_check(
const std::string & testName,
const std::string & val,
const std::string & reference){
18 bool b(val == reference);
20 std::cout <<
"phoenix_check : " << testName <<
" => " <<
phoenix_isOk(b) << std::endl;
21 std::cout <<
"\tval = '"<<val<<
"'" << std::endl;
22 std::cout <<
"\treference = '"<<reference<<
"'" << std::endl;
33 bool phoenix_check(
const std::string & testName,
const std::vector<std::string> & listVal,
const std::vector<std::string> & listRef){
36 b &=
phoenix_check(testName +
" size", listVal.size(), listRef.size());
37 for(
size_t i(0lu); i < listVal.size() && b; ++i){
49 bool phoenix_check(
const std::string & testName,
const std::list<std::string> & listVal,
const std::list<std::string> & listRef){
52 b &=
phoenix_check(testName +
" size", listVal.size(), listRef.size());
53 std::list<std::string>::const_iterator itVal(listVal.begin());
54 std::list<std::string>::const_iterator itRef(listRef.begin());
56 while(itVal != listVal.end() && itRef != listRef.end() && b){