Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
preshed / tests / test_pop.py
Size: Mime:
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