Additional tests for CS577 Spring 2022 HW06: More Divide & Conquer
- Initial commit
- Run
$ git clone https://github.com/CS577-testers-SP22/hw06-tester/
- Copy your code and
Makefile
into the repo
- Download tests.json and hw06_test.py into the directory that contains your
Makefile
and code.
The contents of your directory should look like this:
.
├── Makefile
├── source_code
├── tests.json
└── hw06_test.py
where source_code
is the file(s) you'd submit to Gradescope with your Makefile
. Mine is Points.c
, but you might have hw06.py
, Main.java
, or something else.
You'll need to be able to run your code using $ make build && make run
in the directory containing your code and the test files.
To run the tests, do
$ python3 hw06_test.py
tqdm
is used to track progress. If you don't have it installed, you should do $ pip install tqdm
as it looks better than a simple progress bar implementations.
- If you want to see how the tests were generated, or generate your own, see generate_tests.py
- These are not the actual tests Gradescope uses. I just generated random inputs that meet the specified requirements for input, and made sure the outputs matched for a few different implementations and languages, each that passed all Gradescope tests.
These tests are not endorsed or created by anyone working in an official capacity with UW Madison or any staff for CS577. The tests are make by students, for students.
By running any of the code in this repository, you are executing code you downloaded from the internet. Back up your files and take a look at what you are running first.
If you have comments / questions / suggestions, create an issue or ask in the Discord at https://discord.gg/CTFKYaUePf. If you want to contribute, submit a pull request or ask to join the organization in Discord.