test VectorEigen

release/4.3a0
dellaert 2014-11-30 21:54:56 +01:00
parent 303b051cd1
commit bba78e48e4
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,11 @@ TEST( Type, grammar ) {
EXPECT(actual==Qualified("Point2",Qualified::CLASS));
actual.clear();
// a class type with no namespaces
EXPECT(parse("VectorNotEigen", type_g, space_p).full);
EXPECT(actual==Qualified("VectorNotEigen",Qualified::CLASS));
actual.clear();
// an Eigen type
EXPECT(parse("Vector", type_g, space_p).full);
EXPECT(actual==Qualified("Vector",Qualified::EIGEN));