-
-
Notifications
You must be signed in to change notification settings - Fork 656
Update tests bank-account #2745
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
Merged
Cool-Katt
merged 2 commits into
exercism:main
from
jagdish-15:update-tests-bank-account
Aug 18, 2025
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ | |
| "TomPradat" | ||
| ], | ||
| "contributors": [ | ||
| "jagdish-15", | ||
| "SleeplessByte" | ||
| ], | ||
| "files": { | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # This is an auto-generated file. | ||
| # | ||
| # Regenerating this file via `configlet sync` will: | ||
| # - Recreate every `description` key/value pair | ||
| # - Recreate every `reimplements` key/value pair, where they exist in problem-specifications | ||
| # - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion) | ||
| # - Preserve any other key/value pair | ||
| # | ||
| # As user-added comments (using the # character) will be removed when this file | ||
| # is regenerated, comments can be added via a `comment` key. | ||
|
|
||
| [983a1528-4ceb-45e5-8257-8ce01aceb5ed] | ||
| description = "Newly opened account has zero balance" | ||
|
|
||
| [e88d4ec3-c6bf-4752-8e59-5046c44e3ba7] | ||
| description = "Single deposit" | ||
|
|
||
| [3d9147d4-63f4-4844-8d2b-1fee2e9a2a0d] | ||
| description = "Multiple deposits" | ||
|
|
||
| [08f1af07-27ae-4b38-aa19-770bde558064] | ||
| description = "Withdraw once" | ||
|
|
||
| [6f6d242f-8c31-4ac6-8995-a90d42cad59f] | ||
| description = "Withdraw twice" | ||
|
|
||
| [45161c94-a094-4c77-9cec-998b70429bda] | ||
| description = "Can do multiple operations sequentially" | ||
|
|
||
| [f9facfaa-d824-486e-8381-48832c4bbffd] | ||
| description = "Cannot check balance of closed account" | ||
|
|
||
| [7a65ba52-e35c-4fd2-8159-bda2bde6e59c] | ||
| description = "Cannot deposit into closed account" | ||
|
|
||
| [a0a1835d-faae-4ad4-a6f3-1fcc2121380b] | ||
| description = "Cannot deposit into unopened account" | ||
|
|
||
| [570dfaa5-0532-4c1f-a7d3-0f65c3265608] | ||
| description = "Cannot withdraw from closed account" | ||
|
|
||
| [c396d233-1c49-4272-98dc-7f502dbb9470] | ||
| description = "Cannot close an account that was not opened" | ||
|
|
||
| [c06f534f-bdc2-4a02-a388-1063400684de] | ||
| description = "Cannot open an already opened account" | ||
|
|
||
| [0722d404-6116-4f92-ba3b-da7f88f1669c] | ||
| description = "Reopened account does not retain balance" | ||
|
|
||
| [ec42245f-9361-4341-8231-a22e8d19c52f] | ||
| description = "Cannot withdraw more than deposited" | ||
|
|
||
| [4f381ef8-10ef-4507-8e1d-0631ecc8ee72] | ||
| description = "Cannot withdraw negative" | ||
|
|
||
| [d45df9ea-1db0-47f3-b18c-d365db49d938] | ||
| description = "Cannot deposit negative" | ||
|
|
||
| [ba0c1e0b-0f00-416f-8097-a7dfc97871ff] | ||
| description = "Can handle concurrent transactions" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is an extra one! It isn’t listed in
test.tomlor incanonical-data.jsonon theproblem-specificationsrepo.It comes from the original test file.
Should we keep it, or would it be better to remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my 2 cents: The test should stay, as it's a valid use case and it's not superseded by any of the other tests