예제 #1
0
 def test_equals(self):
     index = IntIndex(10, [0, 1, 2, 3, 4])
     self.assertTrue(index.equals(index))
     self.assertFalse(index.equals(IntIndex(10, [0, 1, 2, 3])))
예제 #2
0
 def test_equals(self):
     index = IntIndex(10, [0, 1, 2, 3, 4])
     assert index.equals(index)
     assert not index.equals(IntIndex(10, [0, 1, 2, 3]))
예제 #3
0
 def test_equals(self):
     index = IntIndex(10, [0, 1, 2, 3, 4])
     assert index.equals(index)
     assert not index.equals(IntIndex(10, [0, 1, 2, 3]))