X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=src%2Ftest%2Fmodelidentifiertest.cpp;h=b4848cc30326410550b9fea3fe23e4ede54bebf5;hb=69cfdf79b7597ee6133dc3add1a759bc94861fa6;hp=96c3587eae0e15dc5570d7bcf8b18c1adffd8094;hpb=f8575ea6c0982bba5ccf42771b2994d19500c0a3;p=germs.git diff --git a/src/test/modelidentifiertest.cpp b/src/test/modelidentifiertest.cpp index 96c3587..b4848cc 100644 --- a/src/test/modelidentifiertest.cpp +++ b/src/test/modelidentifiertest.cpp @@ -63,19 +63,19 @@ protected: GeneOrder axis(_1axis.begin(),_1axis.end()); priority_queue pq = mi.identify(axis); - CPPUNIT_ASSERT_EQUAL(string("X"),pq.top().second.name()); + CPPUNIT_ASSERT_EQUAL(string("X"),string(pq.top().second.name())); GeneOrder uniform(_uniform.begin(),_uniform.end()); pq = mi.identify(uniform); - CPPUNIT_ASSERT_EQUAL(string("Standard"),pq.top().second.name()); + CPPUNIT_ASSERT_EQUAL(string("Whirl"),string(pq.top().second.name())); GeneOrder zipper(_zipper.begin(),_zipper.end()); pq = mi.identify(zipper); - CPPUNIT_ASSERT_EQUAL(string("Zipper"),pq.top().second.name()); + CPPUNIT_ASSERT_EQUAL(string("Zipper"),string(pq.top().second.name())); GeneOrder transpos(_transpos.begin(),_transpos.end()); pq = mi.identify(transpos); - CPPUNIT_ASSERT_EQUAL(string("Cloud"),pq.top().second.name()); + CPPUNIT_ASSERT_EQUAL(string("Cloud"),string(pq.top().second.name())); } };