As we all know there where several issues with the assignment for week 1 of VPL:
- Unclear specification
- Unclear test output
- Missing files (eg doubly_linked_list.h) that prevented easily compilation locally
VPL
This project attempts to amend that by allowing:
- Local compilation
- Use of your preffered IDE
- Use of static analysers
- Hopefully clear and thorough tests
- More sensible test order
To use :
- Pull the project with the option "--recurse-submodules"
- Copy your implementations into the appropriate .c files in the src directory
- run ./runtests.sh
Note: this is currently intended to be run on linux systems only.
Note: I have attempted to keep the code "spoiler free" meaning no generic solutions should be found in the testing code.\
Feel free to contribute if you find any bugs not covered by the test suites or if the test fails on valid code.
The tests are based on an implementation which scored 25/25 and uses suggestions from the moodle forum.
e.g. that enqueu sorted should ignore the running element Forum to this