2 import pinocchio
as pin
7 c1 = pin.CollisionPair(1,2)
8 c2 = pin.CollisionPair(1,2)
9 c3 = pin.CollisionPair(3,4)
11 self.assertEqual(c1,c2)
12 self.assertTrue(c1==c2)
13 self.assertFalse(c1!=c2)
15 self.assertNotEqual(c1,c3)
16 self.assertTrue(c1!=c3)
17 self.assertFalse(c1==c3)
20 c1 = pin.CollisionPair(1,2)
23 self.assertEqual(c1,c2)
26 self.assertNotEqual(c1,c2)
28 if __name__ ==
'__main__':
def test_pair_equals(self)