Additional tests for CS577 Spring 2022 HW07: Dynamic Programming
- Initial commit
- Run
$ git clone https://github.com/CS577-testers-SP22/hw07-tester/ - Copy your code and
Makefileinto the repo
- Download tests.json and hw07_test.py into the directory that contains your
Makefileand code.
The contents of your directory should look like this:
.
├── Makefile
├── source_code
├── tests.json
└── hw07_test.pywhere source_code is the file(s) you'd submit to Gradescope with your Makefile. Mine is Weighted.c, but you might have hw07.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 hw07_test.pytqdm 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.