Examples provided have been inspired by Kent Beck's examples in his book Test-Driven Development By Example
In this repository, I look at using Beck's classic TDD Money Example - updated to Java 11 and JUnit 5.
- Should use Java 11 or higher. Previous versions of Java are un-tested.
- Use Maven 3.5.2 or higher
- Need to be able to add amounts in two different currencies and convert result given a set of exchange rates
- Need to be able to multiply an amount by a number (number of shares) and receive an amount