def test_one_change(): p = Parameter(1) p.push(2) assert p.value == 2
def test_push_pop(): p = Parameter(1) p.push(2) p.pop() assert p.value == 1