parse.php - 7,6 / 8,0 (poor documentation)
interpret.py - 10,4 / 12,0 (poor documentation, + extension)
Files included that I'm not author of:
- jexamxml.jar
- options
- is_it_ok.sh
- test.php
- tests/
- you need the following in the folder with your source file:
test.php
from this gistoptions
andjexamxml.jar
from the/pub/courses/ipp/jexamxml
folder on Merlintests
folder with test cases (original set from Moodle or extended set from Discord pins)
- run with
php8.1 test.php
on Merlin or withphp test.php
on your local machine - you can run individual tests like this:
php test.php header/ok
, or whole groups like this:php test.php header