def test_poly_second(x, a0, a1, a2, expected):
    assert simple_math.poly_second(x, a0, a1, a2) == expected
Ejemplo n.º 2
0
def test_poly_second():
    assert simple_math.poly_second(2, 5, 1, 2) == 15
Ejemplo n.º 3
0
def test_poly_second():
    assert simple_math.poly_second(1, 2, 3, 4) == 9
    assert simple_math.poly_second(2, 2, 3, 4) == 24
Ejemplo n.º 4
0
def test_second():
    assert simple_math.poly_second(6, 1, 1, 3) == 115
Ejemplo n.º 5
0
def test_poly_second():
    assert sm.poly_second(-2, 4, 4, 1) == 0
def test_poly_second(a3, a0, a1, a2):
    assert sm.poly_second(a3, a0, a1, a2) == solution
Ejemplo n.º 7
0
def test_simple_math_poly_second():
    assert simple_math.poly_second(2, 6, 5, 8) == 48