aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/patches
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-04-09 18:33:59 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-04-11 12:45:55 +0200
commitc656536d3f322be31fffd88daa9a43683b11f693 (patch)
treed5f99539ec516fb56a92fa6f19bcb0dc8f5caccf /patches
parentd43f19ded87b4419d5fd5845bc34a0a18819a599 (diff)
build: simplify code and add tests
Simplify the code finding the exercise number from the exercise index, when the -Dn option is set. This is now possible since the exercise numbers have no holes. Add the validate_exercises function to check that exercise number are in the correct order, and call it at the start of the build function. Add tests, with 2 test cases.
Diffstat (limited to 'patches')
0 files changed, 0 insertions, 0 deletions