ThermodynamicAnalyticsToolkit
ThermodynamicAnalyticsToolkit copied to clipboard
Extract examples from programmer's guide for testing
Most of the examples are small code snippets inside the guide and not in external files as with the user guide.
There are two approaches:
- Extract snippets from a larger working piece through special comments in the code. Test the large piece.
- Combine small pieces to a large piece and test.
In case 2 the programmer's guide needs to rely on files (the created snippets) in the build folder. In case 1 the test needs to combine the examples and the makefile needs to contain logic on how to combine them. This is not very maintainer-friendly.