hightechict / coinchange-kata-java

Coinchange kata in java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coinchange Kata Java

The goal of this kata is to create a class which can provide change for a given amount of money.

An interface is provided to start from, as is an empty test class to run with jUnit. The interface implies that the set of valid coins will be known before executing, so we suggest you allow specifying the set of valid coins in the constructor.

Test priority

  • The change uses the coins specified
  • The change matches the amount required
  • The change is given in the optimal amount of coins
  • Calculating the change doesn't take forever

If you want to do this kata, just fork this repo. My goal is to keep the Master branch a starting point for the Kata, so any attempts at solving the kata should be done in another branch.

About

Coinchange kata in java


Languages

Language:Java 100.0%