예제 #1
0
def test_donors_total_value_empty_db():
    db = Donors()
    assert db.total_value() == 0
예제 #2
0
def test_donors_total_value():
    db = Donors({"A Name": [1, 2, 3], "B Name": [4, 5, 6]})
    assert db.total_value() == 21