The Donut Kata is an advanced kata which can help developers become familiar with lesser known APIs of Eclipse Collections.
The domain for the kata is a Donut Shop. There are several domain
classes that are shared by all of the exercises. These are
DonutType
,
Donut
,
DonutShop
,
Customer
,
Order
and
Delivery
.
Java version (17) (uses Local-Variable Type Inference and Records):
- There are failing tests in
DonutShopTest.java
- Make the tests pass by following and completing the TODOs in
DonutShop.java
- Make the tests pass by following and completing the TODOs in
Kotlin version (1.8.0):
- There are failing tests in
DonutShopTest.kt
- Make the tests pass by following and completing the TODOs in
DonutShop.kt
- Make the tests pass by following and completing the TODOs in
All of the DonutShop
implementations and tests use Eclipse Collections.