Skip to content

Unofficial test cases for UW Madison CS577 SP22 HW06: More Divide & Conquer

License

Notifications You must be signed in to change notification settings

CS577-testers-SP22/hw06-tester

Repository files navigation

hw06-tester

Additional tests for CS577 Spring 2022 HW06: More Divide & Conquer

Changes

V1.0

  • Initial commit

Downloading

Option 1: Clone the entire repo

  • Run $ git clone https://github.com/CS577-testers-SP22/hw06-tester/
  • Copy your code and Makefile into the repo

Option 2: Download specific files

Usage

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.

Additional Information

  • 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.

Disclaimer

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.

About

Unofficial test cases for UW Madison CS577 SP22 HW06: More Divide & Conquer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published