Testing interval arithmetic libraries, including their IEEE-1788 compliance

N. Revol, Luis Benet, Luca Ferranti, S. Zhilin
{"title":"Testing interval arithmetic libraries, including their IEEE-1788 compliance","authors":"N. Revol, Luis Benet, Luca Ferranti, S. Zhilin","doi":"10.48550/arXiv.2205.11837","DOIUrl":null,"url":null,"abstract":"As developers of libraries implementing interval arithmetic, we faced the same difficulties when it came to testing our libraries. What must be tested? How can we devise relevant test cases for unit testing? How can we ensure a high (and possibly 100%) test coverage? In this paper we list the different aspects that, in our opinion, must be tested, giving indications on the choice of test cases. Then we examine how several interval arithmetic libraries actually perform tests. Next, we introduce two frameworks developed specifically to gather test cases and to incorporate easily new libraries in order to test them, namely JInterval and ITF1788. Not every important aspects of our libraries fit in these frameworks and we list extra tests that we deem important, but not easy, to perform.","PeriodicalId":431607,"journal":{"name":"Parallel Processing and Applied Mathematics","volume":"68 2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Parallel Processing and Applied Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2205.11837","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

As developers of libraries implementing interval arithmetic, we faced the same difficulties when it came to testing our libraries. What must be tested? How can we devise relevant test cases for unit testing? How can we ensure a high (and possibly 100%) test coverage? In this paper we list the different aspects that, in our opinion, must be tested, giving indications on the choice of test cases. Then we examine how several interval arithmetic libraries actually perform tests. Next, we introduce two frameworks developed specifically to gather test cases and to incorporate easily new libraries in order to test them, namely JInterval and ITF1788. Not every important aspects of our libraries fit in these frameworks and we list extra tests that we deem important, but not easy, to perform.
测试间隔算法库,包括它们的IEEE-1788兼容性
作为实现区间算法的库的开发人员,我们在测试库时也面临同样的困难。必须测试什么?我们如何为单元测试设计相关的测试用例?我们如何确保高的(可能是100%的)测试覆盖率?在本文中,我们列出了我们认为必须测试的不同方面,并给出了选择测试用例的指示。然后,我们将研究几个区间算术库实际上是如何执行测试的。接下来,我们将介绍两个专门用于收集测试用例并轻松合并新库以进行测试的框架,即JInterval和ITF1788。并非我们的库的每个重要方面都适合这些框架,我们列出了我们认为重要但不容易执行的额外测试。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信