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