Skip to content

The money example from the book "Test-Driven development by Example" by Kent Beck. Please note the history and the readme of each commit.

Notifications You must be signed in to change notification settings

No3x/money-tdd-by-example-kent-beck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • 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?

About

The money example from the book "Test-Driven development by Example" by Kent Beck. Please note the history and the readme of each commit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages