ai-content-maker/.venv/Lib/site-packages/preshed/tests/test_pop.py

12 lines
207 B
Python

from ..maps import PreshMap
def test_pop1():
table = PreshMap()
table[10] = 20
table[30] = 25
assert table[10] == 20
assert table[30] == 25
table.pop(30)
assert table[10] == 20