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
Пример #3
0
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
Пример #7
0
def test_simple_math_poly_first():
    assert simple_math.poly_first(2, 1, 1) == 3