3 import pinocchio
as pin
8 c1 = pin.CollisionPair(1, 2)
9 c2 = pin.CollisionPair(1, 2)
10 c3 = pin.CollisionPair(3, 4)
12 self.assertEqual(c1, c2)
13 self.assertTrue(c1 == c2)
14 self.assertFalse(c1 != c2)
16 self.assertNotEqual(c1, c3)
17 self.assertTrue(c1 != c3)
18 self.assertFalse(c1 == c3)
21 c1 = pin.CollisionPair(1, 2)
24 self.assertEqual(c1, c2)
27 self.assertNotEqual(c1, c2)
30 if __name__ ==
"__main__":