예제 #1
0
def test_simple_div():
    assert simple_math.simple_div(8, 4) == 2
예제 #2
0
def test_simple_div():
    assert simple_math.simple_div(1, 2) == 0.5
def test_simple_div(a, b, expected):
    assert simple_math.simple_div(a, b) == expected
예제 #4
0
def test_div():
    assert simple_math.simple_div(10, 2) == 5
def test_simple_div():
    assert simple_math.simple_div(2, 3) - 0.6666666666666666 <= 1E-5
예제 #6
0
def test_simple_div():
    assert sm.simple_div(1, 1) == 1
예제 #7
0
def test_div():
    assert sm.simple_div(10, 2) == 5
def test_simple_div():
    assert sm.simple_div(3, 3) == 1