/beverages-pricing-refactoring-kata

Kata to practice TDD on legacy code with bad inheritance

Primary LanguageKotlin

Beverage refactoring kata

Description

Kata to practice refactoring away from a bad inheritance usage with TDD.

Kotlin version of the kata from here

Goal

This code computes the prices of the beverages served in our coffee house.

We'd like you to add an optional cinnamon supplement that costs 0.05€ to all our existing catalog of beverages.

Tips:

You might want to refactor the code a bit first.