Sha256: f3f04da65623ea381588e6701666751c4ea4a52fdf85441450e8354e7553aa1a
Contents?: true
Size: 565 Bytes
Versions: 61
Compression:
Stored size: 565 Bytes
Contents
## Hints To complete this exercise you need to implement the following functions: - `openAccount` - Called at the start of each test. Returns a BankAccount. - `closeAccount` - Called at the end of each test. - `getBalance` - Get the balance of the bank account. - `updateBalance` - Increment the balance of the bank account by the given amount. The amount may be negative for a withdrawal. The initial balance of the bank account should be 0. Your can use the provided signatures if you are unsure about the types, but don't let them restrict your creativity.
Version data entries
61 entries across 61 versions & 1 rubygems