diff --git a/test/integration/root_dom.cc b/test/integration/root_dom.cc index 69d682dd8..3b5d7c0ca 100644 --- a/test/integration/root_dom.cc +++ b/test/integration/root_dom.cc @@ -300,3 +300,13 @@ TEST(DOMRoot, CreateMulipleWorlds) testFunc(root); testFunc(root2); } + +///////////////////////////////////////////////// +TEST(DOMRoot, LoadWithoutMeshAutoInertialCalculator) +{ + const std::string testFile = + sdf::testing::TestFile("sdf", "mesh_auto_inertial.sdf"); + sdf::Root root; + sdf::Errors errors = root.Load(testFile); + EXPECT_TRUE(errors.empty()) << errors; +} diff --git a/test/sdf/mesh_auto_inertial.sdf b/test/sdf/mesh_auto_inertial.sdf new file mode 100644 index 000000000..ece976a41 --- /dev/null +++ b/test/sdf/mesh_auto_inertial.sdf @@ -0,0 +1,17 @@ + + + + + + + + + + box.dae + + + + + + +