Example #1
0
 def test_equals(self):
     index = IntIndex(10, [0, 1, 2, 3, 4])
     self.assert_(index.equals(index))
     self.assert_(not index.equals(IntIndex(10, [0, 1, 2, 3])))
Example #2
0
 def test_equals(self):
     index = IntIndex(10, [0, 1, 2, 3, 4])
     self.assert_(index.equals(index))
     self.assert_(not index.equals(IntIndex(10, [0, 1, 2, 3])))
 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])))
Example #4
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])))