Test Driven Development

The money example

List of To Do

$5 + 10chf = 10$ if rate = 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?

Chapter 1

To Do

$5*2 = $10

Chapter 2

To Do

Dollar side effects

Chapter 3

To Do

equals()

Chapter 4

To Do

Make "amount" private

Chapter 5

To Do

5CHF * 2 = 10CHF

Chapter 6

To Do

Common equals

Chapter 7

To Do

Compare Francs with Dollars

Chapter 8

To Do

Dollar/Franc duplication

Chapter 9

To Do

Currency?

Chapter 10

To Do

Common times

Chapter 11

To Do

Dollar/Franc duplication

Chapter 12

To Do

$5 + $5 = $10

Chapter 13

To Do

$5 + $5 = $10
Bank->reduce(Money)

Chapter 14

To Do

Reduce Money with conversion

Chapter 15

To Do

$5 + 10CHF = $10 if rate is 2:1