MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / testProperties

Method testProperties

dm_control/mjcf/element_test.py:97–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 self.assertEqual(func_name, 'tag')
96
97 def testProperties(self):
98 mujoco = element.RootElement(model='test')
99 self.assertIsInstance(mujoco.namescope, namescope.NameScope)
100 self._test_properties(mujoco, parent=None, root=mujoco, recursive=True)
101
102 def _test_attributes(self, mjcf_element,
103 expected_values=None, recursive=False):

Callers

nothing calls this directly

Calls 1

_test_propertiesMethod · 0.95

Tested by

no test coverage detected