def test_poly_first(x, a0, a1, expected):
    assert simple_math.poly_first(x, a0, a1) == expected
示例#2
0
def test_poly_first():
    assert simple_math.poly_first(2, 4, -1) == 2
def test_poly_first():
    assert simple_math.poly_first(1, 2, 3) == 5
示例#4
0
def test_first():
    assert simple_math.poly_first(6, 1, 1) == 7
示例#5
0
def test_poly_first():
    assert sm.poly_first(2, -4, 2) == 0
def test_poly_first():
    assert sm.poly_first(1, -1, 1) == 0
def test_simple_math_poly_first():
    assert simple_math.poly_first(2, 1, 1) == 3