diff options
author | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-09 18:33:59 +0200 |
---|---|---|
committer | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-11 12:45:55 +0200 |
commit | c656536d3f322be31fffd88daa9a43683b11f693 (patch) | |
tree | d5f99539ec516fb56a92fa6f19bcb0dc8f5caccf /exercises/084_async.zig | |
parent | d43f19ded87b4419d5fd5845bc34a0a18819a599 (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 'exercises/084_async.zig')
0 files changed, 0 insertions, 0 deletions