From 4a4451fb8428fe7d4c01fd0d0fd04d27a850c246 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Wed, 14 Feb 2018 14:37:55 -0800 Subject: [PATCH] Add tests for mutli-visual and multi-collision --- test/test_urdf.py | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/test/test_urdf.py b/test/test_urdf.py index 5d3e6c8..ae434f1 100644 --- a/test/test_urdf.py +++ b/test/test_urdf.py @@ -144,6 +144,44 @@ def test_robot_material_missing_color_and_texture(self): ''' self.assertRaises(ParseException, self.parse, xml) + def test_link_multiple_visual(self): + xml = ''' + + + + + + + + + + + + + + + +''' + self.parse_and_compare(xml) + + def test_link_multiple_collision(self): + xml = ''' + + + + + + + + + + + + + +''' + self.parse_and_compare(xml) + class LinkOriginTestCase(unittest.TestCase): @mock.patch('urdf_parser_py.xml_reflection.on_error',