A Case Study of Metamorphic Test for Monte Carlo Numerical Calculation Programs

2023 International Conference on Applied Physics and Computing (ICAPC)(2023)

引用 0|浏览1
暂无评分
摘要
The Monte Carlo numerical calculation program is based on non-deterministic theory, which encounters the ‘test oracle’ problem. Metamorphic Test (MT) is an effective method to alleviate this problem. This paper applies MT to test the Monte Carlo numerical calculation programs and proposes a new method for deriving the Metamorphic Relations (MRs) in MT. Firstly, MRs are analyzed through the random sampling model of under-test programs. Secondly, MT is performed. Finally, the results and the effectiveness of MT are analysed. The experiments show that MRs can effectively detect errors in the program, and the proposed method can alleviate the ‘test oracle’ problem in Monte Carlo numerical calculation programs.
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要