X-Git-Url: https://ruin.nu/git/?p=germs.git;a=blobdiff_plain;f=src%2Ftest%2Fmodelidentifiertest.cpp;h=7a0cedd889e98c8ffe77663e3cecc89d58e6bd2e;hp=96c3587eae0e15dc5570d7bcf8b18c1adffd8094;hb=d7c119fefaf9cce07974afbefb4b6a017689a961;hpb=efe42ca948704593c847996d0ae8da71d15bb75b diff --git a/src/test/modelidentifiertest.cpp b/src/test/modelidentifiertest.cpp index 96c3587..7a0cedd 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("Standard"),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())); } };