From bba78e48e4d21983f60c3aa5c4bd3fff8a70e515 Mon Sep 17 00:00:00 2001 From: dellaert Date: Sun, 30 Nov 2014 21:54:56 +0100 Subject: [PATCH] test VectorEigen --- wrap/tests/testType.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wrap/tests/testType.cpp b/wrap/tests/testType.cpp index 45ffdb6de..f61e81c62 100644 --- a/wrap/tests/testType.cpp +++ b/wrap/tests/testType.cpp @@ -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));