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

Method assertIsNotSame

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

Source from the content-addressed store, hash-verified

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))
59 self.assertFalse(other.is_same_as(mjcf_model))
60
61 def assertHasAttr(self, obj, attrib):
62 self.assertTrue(hasattr(obj, attrib))

Callers 2

testSamenessMethod · 0.95
testTendonSamenessMethod · 0.95

Calls 1

is_same_asMethod · 0.45

Tested by

no test coverage detected