-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Add tests for withdraw: (1) withdraw(0) panics or returns without effect per spec; (2) withdraw(amount) when amount > balance panics.
Requirements and context
- Must be secure, tested, and documented
- Should be efficient and easy to review
- Depends on Issue 25 (withdraw) being implemented
Suggested execution
- Fork the repo and create a branch
git checkout -b test/withdraw-edge-cases- Implement changes
- Test withdraw(0) behavior; test withdraw(balance + 1) panics
- Test and commit
- Run tests; include test output
- Example commit message:
test: withdraw zero and excess balance edge cases
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
- Project details: #
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program