Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 701 Bytes

README.md

File metadata and controls

27 lines (26 loc) · 701 Bytes

money-tdd-by-example-kent-beck

The money example of the book "Test-Driven development by Example" by Kent Beck

TODO

  • $5 + 10 CHF = $10 if rate is 2:1
  • $5 + $5 = $10
  • Sum.plus
  • de.com.tdd.money.Expression.times
  • Return Money from $5 + $5
  • Bank.reduce(Money)
  • Reduce Money with conversion
  • Reduce(Bank, String)
  • $5 * 2 = $10
  • Make "amount" private
  • Dollar side-effects?
  • Money rounding?
  • equals()
  • hashCode()
  • Equal null
  • Equal object
  • 5 CHF * 2 = 10 CHF
  • Dollar/Franc duplication
  • Common equals
  • Common times.
  • Compare Francs with Dollars
  • Currency?
  • Delete testFrancMultiplication?