Tests: frontx.solve
This suite exercises the forward solver along three fronts:
- Exact case (Philip, 1960): with
D(θ) = (1 − log(θ)) / 2, the solution isθ(o) = exp(-o). - External reference comparison (
fronts): for LETd, LETxs, VanGenuchten, and Brooks–Corey models it checks: - agreement of
D,dD/dθ, andd²D/dθ²withfronts.D, - agreement between
frontx.solveandfronts.solve(abs ≤ 5e-2). - Unsolvable cases: the solver must raise or flag failure
(
result != successful) under impossible conditions.
How to run
From the project root:
```bash pytest -q tests/test_solve.py