63 std::string lLogFilename (
"PartitionTestSuite.log");
66 std::ofstream logOutputFile;
68 logOutputFile.open (lLogFilename.c_str());
69 logOutputFile.clear();
71 const std::string lLax1Str =
"los angeles";
72 const std::string lLax2Str =
"lso angeles";
73 const std::string lRio1Str =
"rio de janeiro";
74 const std::string lRio2Str =
"rio de janero";
75 const std::string lRek1Str =
"reikjavik";
76 const std::string lRek2Str =
"rekyavik";
77 const std::string lSfoRio1Str =
"san francisco rio de janeiro";
78 const std::string lSfoRio2Str =
"san francicso rio de janero";
79 const std::string lSfoRio3Str =
"sna francicso rio de janero";
80 const std::string lChelseaStr =
"chelsea municipal airport";
84 logOutputFile << lStringPartition << std::endl;
86 BOOST_CHECK_MESSAGE (lStringPartition.
size() == 16,
87 "The partition, for '" << lRio2Str
88 <<
"', should contain a single list."
89 <<
" However, its size is " << lStringPartition.
size()
94 logOutputFile << lAnotherStringPartition << std::endl;
97 logOutputFile.close();