Many documentation files for the exercises contain example code. To make sure the examples are valid, they should be tested, similar to doctests.