Skip to content

Commit

Permalink
Inner loop - Green: Implement store negative amount transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosMChica committed May 2, 2016
1 parent 13c1b41 commit 83a326c
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -23,6 +23,7 @@ public void deposit(int amount) {
}

public void withdraw(int amount) {
repository.store(new Transaction(-amount, clock.today()));
}

public void showStatement() {
Expand Down

0 comments on commit 83a326c

Please sign in to comment.