()
| 76 | temp._check() |
| 77 | |
| 78 | def test_getitem(): |
| 79 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |
| 80 | temp = SortedDict(mapping) |
| 81 | assert all((temp[val] == pos) for pos, val in enumerate(string.ascii_lowercase)) |
| 82 | |
| 83 | def test_eq(): |
| 84 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |