fixed a lot of issues, now successfully runs the test with --enable-pedantic; refs #8
This commit is contained in:
@@ -29,7 +29,8 @@ class StringTest: public CppUnit::TestFixture {
|
||||
void Join() {
|
||||
std::list<std::string> l;
|
||||
l<<"Hello"<<"World"<<"here"<<"I"<<"am";
|
||||
CPPUNIT_ASSERT(mrw::join(l)=="Hello World here I am");
|
||||
CPPUNIT_ASSERT_EQUAL(std::list<std::string>::size_type(5), l.size());
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("Hello World here I am"), mrw::join(l));
|
||||
}
|
||||
void Split() {
|
||||
std::string text("Hello World here I am");
|
||||
|
Reference in New Issue
Block a user