The tests on the C track are somewhat stale and would benefit from an update. They would benefit even more from a test generator to help keep them current. Ideally a C test generator would be written in C. But I don’t write C and no one wrote a generator for the track yet. In the meanwhile, the Python/Jinja test generator I wrote is now being used across ~10 tracks. I could add that generator to the C track and bootstrap a bunch of exercise templates.
Thoughts from C maintainers on reusing a Python/Jinja generator to get C exercise tests generated?
Plus @BethanyG’s version of this. Not quite the same (it also handles nested tests without flattening, and an auto-formatting step, at the cost of greater complexity), but for Python/Jinja generators also add Python, R and Julia to the list.
Rust also has a test generator written in Rust using the tera template engine, should you want to go with something “lower level”, and/or faster than Python.
And Erik went a slightly different route with the C# generators.
So you have options, depending on what you’re comfortable with.