Ejemplo n.º 1
0
def test_one_change():
    p = Parameter(1)
    p.push(2)
    assert p.value == 2
Ejemplo n.º 2
0
def test_one_change():
    p = Parameter(1)
    p.push(2)
    assert p.value == 2
Ejemplo n.º 3
0
def test_push_pop():
    p = Parameter(1)
    p.push(2)
    p.pop()
    assert p.value == 1
Ejemplo n.º 4
0
def test_push_pop():
    p = Parameter(1)
    p.push(2)
    p.pop()
    assert p.value == 1