def test_update(self):
        x = {1:2, 3:4}
        y = Bidict()
        y.update(x)
        assert y.inverse[4] == 3
        assert y.inverse[2] == 1
Tests if updating a bidict with a dict works
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/data_structures/bijectivedict.py/TestBidict.test_update