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

12 lines
207 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
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