Skip to content

Conversation

@wordkarin
Copy link

Successfully completed base requirements and optionals for Wave 1 and 2.

See the added savings_test and checking_test files for some of the testing that I did. I wanted to make sure that creating new accounts of both types worked and that each of the methods for each class worked. Additionally, I tested in irb the ability to create a new checking account and withdraw_using_check and utilize the OVERDRAFT variable, and then try to do a normal withdraw request and have it not work, since withdraw uses the normal MIN_BALANCE of the class.

When implementing the withdraw_using_check method, I had a little bit of trouble figuring out how to skip the normal withdraw method in the checking account, since I wanted to pass a different min balance, but found that I can use an alias to call the parent class's version of the method and pass in my OVERDRAFT instead.

…the keys and the account objects as the values
@kariabancroft
Copy link

just trying some things out - plz ignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants