()
| 152 | assert len(temp) == 26 |
| 153 | |
| 154 | def test_setitem(): |
| 155 | temp = SortedDict() |
| 156 | |
| 157 | for pos, key in enumerate(string.ascii_lowercase): |
| 158 | temp[key] = pos |
| 159 | temp._check() |
| 160 | |
| 161 | assert len(temp) == 26 |
| 162 | |
| 163 | for pos, key in enumerate(string.ascii_lowercase): |
| 164 | temp[key] = pos |
| 165 | temp._check() |
| 166 | |
| 167 | assert len(temp) == 26 |
| 168 | |
| 169 | def test_copy(): |
| 170 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |
nothing calls this directly
no test coverage detected