Add test
parent
1292d324ff
commit
cd9d03668f
|
|
@ -127,6 +127,12 @@ class MyFactor {
|
|||
// and a typedef specializing it
|
||||
typedef MyFactor<gtsam::Pose2, Matrix> MyFactorPosePoint2;
|
||||
|
||||
// A class with integer template arguments
|
||||
template<N = {3,12}>
|
||||
class MyVector {
|
||||
MyVector();
|
||||
};
|
||||
|
||||
// comments at the end!
|
||||
|
||||
// even more comments at the end!
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ TEST( wrap, Small ) {
|
|||
TEST( wrap, Geometry ) {
|
||||
string markup_header_path = topdir + "/wrap/tests";
|
||||
Module module(markup_header_path.c_str(), "geometry",enable_verbose);
|
||||
EXPECT_LONGS_EQUAL(7, module.classes.size());
|
||||
EXPECT_LONGS_EQUAL(9, module.classes.size());
|
||||
|
||||
// forward declarations
|
||||
LONGS_EQUAL(2, module.forward_declarations.size());
|
||||
|
|
@ -159,7 +159,7 @@ TEST( wrap, Geometry ) {
|
|||
strvec exp_includes; exp_includes += "folder/path/to/Test.h";
|
||||
EXPECT(assert_equal(exp_includes, module.includes));
|
||||
|
||||
LONGS_EQUAL(7, module.classes.size());
|
||||
LONGS_EQUAL(9, module.classes.size());
|
||||
|
||||
// Key for ReturnType::return_category
|
||||
// CLASS = 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue