def test_get_total_donations_multiple_donations(): donor = Donor("Test User") donor.add_donation(200) donor.add_donation(100) assert donor.get_total_donations() == 2
def test_get_total_donations_no_donations(): donor = Donor("Test User") assert donor.get_total_donations() == 0