How to create tests with different include files?
At present the way you specify the equation to be solved is by selecting a different
inlcude/pde-vlasovX.hpp file in
include/pde.hpp at compile time.
Also, the present set of tests only runs successfully when using
I'd like to add tests for
inlcude/pde-vlasov7.hpp, which would be whole code tests, i.e., you run the code for some lev, deg, and the number of time steps, and it returns a single number (the error as compared with the analytic solution).
I see two difficulties here ..
- How do I call the whole code in a test? (At present the "integration" test has most of
main.cppreplicated in the test.
- How do I have tests for the two different pde cases where the selection must be done at compile time?
@bgl Any thoughts?