()
| 97 | assert not (temp1 == temp2) |
| 98 | |
| 99 | def test_iter(): |
| 100 | mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)] |
| 101 | temp = SortedDict(mapping) |
| 102 | assert all(lhs == rhs for lhs, rhs in zip(temp, string.ascii_lowercase)) |
| 103 | |
| 104 | def test_iter_key(): |
| 105 | temp = SortedDict(negate, ((val, val) for val in range(100))) |