Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 418 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 418 Bytes

ATM emulator

Usage

ATM emulator provides simple command line interface.

Initialize ATM with money:

python cli.py init <comma-separated list with note counts, e.g. 50=5,20=10>

Show current note counts:

python cli.py status

Dispense money from ATM

python cli.py dispense <amount>

Requirements

  • Python 2.7
  • mock library for unit testing