Clone the project,and then the file tree is like:
-project
-src
-readme.md
and into src
floder.
run the command : javac main/Main.java
.
now the project is compiled.
Run the input class.java main.Main
The project has provided some test class. included:
- CustomerTest: test from customer perspective.
- ManagerTest: test from customer perspective.
- PayTest: test from pay perspective.
Just run the class with class you want.
for example:
java test.CustomerTest
java test.ManagerTest
java test.PayTest