def test_poly_first(x, a0, a1, expected):
    assert simple_math.poly_first(x, a0, a1) == expected
Esempio n. 2
0
def test_poly_first():
    assert simple_math.poly_first(2, 4, -1) == 2
Esempio n. 3
0
def test_poly_first():
    assert simple_math.poly_first(1, 2, 3) == 5
Esempio n. 4
0
def test_first():
    assert simple_math.poly_first(6, 1, 1) == 7
Esempio n. 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
Esempio n. 7
0
def test_simple_math_poly_first():
    assert simple_math.poly_first(2, 1, 1) == 3