def test_beyond_fence_1_negative(self): cursor = Cursor([[1]]) cursor.advance() self.assertFalse(cursor.beyond_fence())
def test_beyond_fence_1_positive(self): cursor = Cursor([[1]]) cursor.advance() cursor.advance() self.assertTrue(cursor.beyond_fence())
def test_beyond_fence_0_negative(self): cursor = Cursor([[]]) self.assertFalse(cursor.beyond_fence())