Build Status: https://travis-ci.org/SahilWadhwa/ATMSimulator
To Start ATM
- Run Main Function inside Operator class
- Test data: Card Number = 1234, Pin = 123, Balance = 10000 (ref:account-details.csv)
Scenarios covered
-
Card number and Pin number can be authenticated
-
Card Account details are maintained and balance is updated after money is withdrawn
-
Money withdrawn will be retunred in multiple currencies.(Thousand, Five Hundred, Hundred)
-
Money can be withdrawn until ATM cash and Card Account balance goes empty
Scalability (Scenarios that can be added with ease)
-
New Currency can be added easily by using DispenseChain Interface
-
How many notes of a Currency can be controlled.
Scenarios un-covered
- Interface is console based and lacks validating user input. Breaks in case of non integer entry
- User accounts are loaded thru CSV file but ATM internal cash is loaded staticaly