Beispiel #1
0
 def giveRaise(self, percent, bonus=0.1):
     Person.giveRaise(self, percent+bonus )
Beispiel #2
0
def test_person_giveRaise():
    sue = Person('Sue Jones', 45, 40000, 'hardware')
    sue.giveRaise(0.2)

    assert sue.pay == 48000
Beispiel #3
0
 def giveRaise(self, percent, bonus=0.1):
     Person.giveRaise(self, percent + bonus)