fix streaming tests to agree with new print in matlab column vector style

release/4.3a0
Duy-Nguyen Ta 2013-08-08 08:44:00 +00:00
parent 159f9eee1e
commit 1631222a29
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ TEST( Point3, stream)
Point3 p(1,2, -3);
std::ostringstream os;
os << p;
EXPECT(os.str() == "(1, 2, -3)");
EXPECT(os.str() == "[1, 2, -3]';");
}
/* ************************************************************************* */

View File

@ -747,7 +747,7 @@ TEST( Pose3, stream)
Pose3 T;
std::ostringstream os;
os << T;
EXPECT(os.str() == "\n|1, 0, 0|\n|0, 1, 0|\n|0, 0, 1|\n\n(0, 0, 0)\n");
EXPECT(os.str() == "\n|1, 0, 0|\n|0, 1, 0|\n|0, 0, 1|\n\n[0, 0, 0]';\n");
}
/* ************************************************************************* */