Sleep Thread for Less Time

master
Hammy 4 years ago
parent 50404a969b
commit 1005fc604b

@ -6,7 +6,7 @@ public class Main {
ATMMachine atmMachine = new ATMMachine(); ATMMachine atmMachine = new ATMMachine();
atmMachine.setCashInMachine(200); atmMachine.setCashInMachine(200);
sleep(1000); sleep(500);
atmMachine.insertCard(); atmMachine.insertCard();
atmMachine.ejectCard(); atmMachine.ejectCard();

Loading…
Cancel
Save