(self)
| 281 | # raise NotImplementedError |
| 282 | |
| 283 | def test_boundary(self): |
| 284 | items1 = range(SafeRepr.maxcollection[0] - 1) |
| 285 | items2 = range(SafeRepr.maxcollection[0]) |
| 286 | items3 = range(SafeRepr.maxcollection[0] + 1) |
| 287 | c1 = self.CLASS(items1) |
| 288 | c2 = self.CLASS(items2) |
| 289 | c3 = self.CLASS(items3) |
| 290 | expected1 = self.combine(items1) |
| 291 | expected2 = self.combine(items2[:-1], large=True) |
| 292 | expected3 = self.combine(items3[:-2], large=True) |
| 293 | |
| 294 | self.assert_unchanged(c1, expected1) |
| 295 | self.assert_shortened(c2, expected2) |
| 296 | self.assert_shortened(c3, expected3) |
| 297 | |
| 298 | def test_nested(self): |
| 299 | ctype = self.CLASS |
nothing calls this directly
no test coverage detected