$$ \newcommand{\uex}{{u_{\small\mbox{e}}}} \newcommand{\tp}{\thinspace .} $$

« Previous
Next »

Demonstrating nose (ideas)

Aim: test function solver for \( u'=-au \), \( u(0)=I \).

We design three unit tests:

  1. A comparison between the computed \( u^n \) values and the exact discrete solution
  2. A comparison between the computed \( u^n \) values and precomputed verified reference values
  3. A comparison between observed and expected convergence rates
These tests follow very closely the previous verify* functions.

« Previous
Next »