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

Method assertIsSame

dm_control/mjcf/element_test.py:53–55  ·  view source on GitHub ↗
(self, mjcf_model, other)

Source from the content-addressed store, hash-verified

51class ElementTest(parameterized.TestCase):
52
53 def assertIsSame(self, mjcf_model, other):
54 self.assertTrue(mjcf_model.is_same_as(other))
55 self.assertTrue(other.is_same_as(mjcf_model))
56
57 def assertIsNotSame(self, mjcf_model, other):
58 self.assertFalse(mjcf_model.is_same_as(other))

Callers 4

testSamenessMethod · 0.95
testTendonSamenessMethod · 0.95
testCopyMethod · 0.95

Calls 1

is_same_asMethod · 0.45

Tested by

no test coverage detected