示例#1
0
def test_add_decimal(ten_point_two):
    assert add(ten_point_two, ten_point_two) == Decimal('20.4')
示例#2
0
def test_add():
    assert add(1, 2) == 3