(self)
| 212 | self.assertIteratorEqual(s.drop_right(-1), s) |
| 213 | |
| 214 | def test_drop_while(self): |
| 215 | l = [1, 2, 3, 4, 5, 6, 7, 8] |
| 216 | f = lambda x: x < 4 |
| 217 | expect = [4, 5, 6, 7, 8] |
| 218 | result = self.seq(l).drop_while(f) |
| 219 | self.assertIteratorEqual(expect, result) |
| 220 | self.assert_type(result) |
| 221 | |
| 222 | def test_take(self): |
| 223 | s = self.seq([1, 2, 3, 4, 5, 6]) |
nothing calls this directly
no test coverage detected