Amazon interview question

Q. Write test cases for ATM machine