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

99 out of 105 users completed this Bite.
Will you be the 100th person to crack this Bite?
Resolution time: ~65 min. (avg. submissions of 5-240 min.)
Our community rates 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