- $5 + 10CHF = $10 (assuming the exchange rate is 2:1)
- $5 * 2 = $10
- Make
amount
private - Dollar side effects?
- Money rounding?
-
equals()
-
hashCode()
- Equal null
- Equal object
- 5CHF * 2 = 10CHF
-
Dollar
/Franc
duplication - Common
equals()
- Common
times()
- Compare Francs with Dollars
- Currency?
- Delete
testFrancMultiplication
?
-
Notifications
You must be signed in to change notification settings - Fork 0
hajin-kim/tdd-step-by-step
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Step-by-step commit stacks for the Money Example in Kent Beck's TDD
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published