示例#1
0
def test_multiply_by_10():
    assert multiply_by_10(3) == 30
    assert multiply_by_10(-1) == -10
    assert multiply_by_10(inf) == inf
    assert multiply_by_10(-inf) == -inf
def test_multiply_by_10():
	assert multiply_by_10(3) == 30
	assert multiply_by_10(-1) == -10
示例#3
0
def test_multiple_by_10():
    assert multiply_by_10(3) == 30
    assert multiply_by_10(-1) == -10
    assert multiply_by_10(inf) == inf
    assert multiply_by_10(-inf) == -inf