Example #1
0
def test_one_change():
    p = Parameter(1)
    p.push(2)
    assert p.value == 2
Example #2
0
def test_one_change():
    p = Parameter(1)
    p.push(2)
    assert p.value == 2
Example #3
0
def test_push_pop():
    p = Parameter(1)
    p.push(2)
    p.pop()
    assert p.value == 1
Example #4
0
def test_push_pop():
    p = Parameter(1)
    p.push(2)
    p.pop()
    assert p.value == 1