Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.
Maka314Public archive

About

Let’s contribute some test cases together👋

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

57 Commits

Folders and files

Repository files navigation

9021_test_session

Use test script

If you need to test please perform the following steps First open put_your_code_here/knights_and_knaves.py. Change the file to the program you need to test.

Switch the working directory to the folder and execute python3 start_test.py, all test cases in test_cases will be executed. The results will be output to out_put

Your output will also be compared with the files in the expected_output folder. Ideally, you would see:

image.png This means that you passed all the test cases and your program should be quite robust.

Upload test cases

If you want to contribute something to the testing, please don't hesitate to upload the test document you designed and we will run it together and compare the output results.

Just place the test txt file in the test_cases folder. Please give it a unique name, such as Maka314_case1.txt.

If you don’t know yet, you can get an achievement by pulling the code twice on github.😉

important hint❗

Don’t forget to check your gitignore. Uploading your own work is not the result we want.

ONE MORE THING

This app is still under development and we cannot be sure that all input is correct. If your results are different from ours, please don’t be discouraged. Maybe you are the right one.

About

Let’s contribute some test cases together👋

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages