(self)
| 229 | self.assertIteratorEqual(s.take(-1), self.seq([])) |
| 230 | |
| 231 | def test_take_while(self): |
| 232 | l = [1, 2, 3, 4, 5, 6, 7, 8] |
| 233 | f = lambda x: x < 4 |
| 234 | expect = [1, 2, 3] |
| 235 | result = self.seq(l).take_while(f) |
| 236 | self.assertIteratorEqual(result, expect) |
| 237 | self.assert_type(result) |
| 238 | |
| 239 | def test_union(self): |
| 240 | result = self.seq([1, 1, 2, 3, 3]).union([1, 4, 5]) |
nothing calls this directly
no test coverage detected