-
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 a test that asserts the return value of deposit(amount) equals the new balance (previous + amount).
Requirements and context
- Must be secure, tested, and documented
- Should be efficient and easy to review
- Covers return value correctness
Suggested execution
- Fork the repo and create a branch
git checkout -b test/deposit-return-value- Implement changes
- init with 100; assert client.deposit(&50) == 150; assert client.balance() == 150
- Test and commit
- Run tests; include test output
- Example commit message:
test: deposit returns new balance
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