Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add bank-account, part of 48 in 24 #401

Merged
merged 3 commits into from
Jun 13, 2024
Merged

Conversation

kmarker1101
Copy link
Contributor

No description provided.

@BNAndras BNAndras added x:rep/large Large amount of reputation x:module/practice-exercise Work on Practice Exercises labels Jun 12, 2024
(should (= (balance account) 20))))


(ert-deftest cannot-check-balance-of-closed-account ()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to the circular-buffer PR, we might want to have students create custom error types and test for those here instead of checking the contents directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I will look into it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. I think I will have to rebase again if we merge circular-buffers first.

@BNAndras
Copy link
Member

Looks great. Resolve the merge conflict please and we’re done with this one.

@kmarker1101
Copy link
Contributor Author

merge conflict resolved

@BNAndras BNAndras merged commit 6bbbe15 into exercism:main Jun 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:module/practice-exercise Work on Practice Exercises x:rep/large Large amount of reputation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants