Metamorphic testing of programs on partial differential equations: a case study

Tsong Yueh Chen, Jianqiang Feng, T.H. Tse

2003 · 112 citations · 14 references

DOIFull text

Open access

Concepts

Abstract

We study the effect of applying metamorphic testing to alleviate the oracle problem for numerical programs. We discuss a case study on the testing of a program that solves an elliptic partial differential equation with Dirichlet boundary conditions. We identify a metamorphic relation for the equation and demonstrate the effectiveness of metamorphic testing in identifying the error. The relation identified should also be applicable to other numerical methods that yield better approximations on the refinement of grid points or step sizes.

References

14