Skip to content

techrajdeep/TDD

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

About

TDD By Example by Kent Beck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages