(self, i, j)
| 163 | item.swapwith(other) |
| 164 | |
| 165 | def compare(self, i, j): |
| 166 | self.countcompare() |
| 167 | item = self.items[i] |
| 168 | other = self.items[j] |
| 169 | return item.compareto(other) |
| 170 | |
| 171 | def reset(self, msg): |
| 172 | self.ncompares = 0 |
no test coverage detected