avatar Bite 240. Write tests for an Account class

Note this is a Test Bite and uses Python 3.7 and MutPy 0.6.1

In our third Test Bite you will write tests for (a reduced version of) the Account class Bob wrote for his Enriching Your Python Classes With Dunder (Magic, Special) Methods articleYou can assume Accounts to be instantiated with integer amounts only.

Login and get coding
go back Advanced level
Bitecoin 4X

98 out of 104 users completed this Bite.
Will you be Pythonista #99 to crack this Bite?
Resolution time: ~65 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 6.45 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help