Usage Guide (testing)
Testing functionality is implemented in a library, libtest, which offers a small and simple API, so it can be used on arbitrary platforms. Using the libtest library also requires using one API exposed by the libshared library, for memory management. Finally, a convenience thin command line veneer, test, is provided, which is used from the command line to run the test suite and see the results.
As such, usage is either the use of the libtest API (and also the libshared API, for memory management), or the use of the command line test programme.