0
kicks
TDD By Example - Money
Learn how to use TDD to drive out a simple scenario. Creating a custom type to encapsulate money. If you find yourself using decimals a lot to represent money in your application, then get started building a first class type that encapsulates the rules for you. In the process, learn how using TDD can help you drive out the functionality in small testable pieces.