Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 567 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 567 Bytes

Compile

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

Test

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