Skip to content

Implement overdraft_protection() in bank.py#117

Open
hummusonrails wants to merge 1 commit intoADG-VITV:mainfrom
hummusonrails:bh/issue-36-overdraft-protection
Open

Implement overdraft_protection() in bank.py#117
hummusonrails wants to merge 1 commit intoADG-VITV:mainfrom
hummusonrails:bh/issue-36-overdraft-protection

Conversation

@hummusonrails
Copy link
Copy Markdown

Implements Account.overdraft_protection() with numeric coercion and basic balance validation.

Validation:

  • returns true only for positive amounts within available balance
  • rejects invalid and non-numeric inputs

Smoke-tested locally with a small Python assertion script.

@hummusonrails hummusonrails marked this pull request as ready for review April 21, 2026 06:57
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.

1 participant