Skip to content

Nixfo/kata-design-pattern-chain-of-responsibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Design Pattern Chain of Responsibility Kata

Problem

An ATM has to dispense the amount desired. If the ATM can't give all the money, the remainder is put to the trash! Implements the pattern Chain of Responsibility to solve this problem.

The ATM is separated into different internal modules in the following order : a 50€ dispenser, a 20€ dispenser, a 3€ dispenser and a trash. Solve the tests under the package test using System.out.println().

Solution

Solution is under the package solution. Classes under this package are prefixed with the symbol ɵ to disable IDE autocompletion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages