Vector Class Discussion

Test suite for VCL? And how to submit patches
Author: Agner Date: 2016-05-31 23:48
Thank you very much for your contributions to improving the vector class library.

Peter Cordes wrote:

is there an existing test suite?
Not a reliable one. I have a primitive test suite that somebody else has made, but it doesn't cover the necessary number of cases for data values, etc. For example, your 64-bit multiplication would certainly have to be tested with more than one pair of data values to make sure it handles all cases correctly.

I am mostly relying on manual testing based on the philosophy of white box testing where I make sure that all branches, special cases and boundary cases are covered.

 
thread Test suite for VCL? And how to submit patches new - Peter Cordes - 2016-05-31
replythread Test suite for VCL? And how to submit patches - Agner - 2016-05-31
replythread Factoring out boilerplate for integer vectors new - Peter Cordes - 2016-05-31
last reply Factoring out boilerplate for integer vectors new - Agner - 2016-06-01
last reply Test suite for VCL? And how to submit patches new - Peter Cordes - 2016-06-05
last replythread Test suite for VCL? And how to submit patches new - Peter Cordes - 2016-06-02
last replythread Test suite for VCL? And how to submit patches new - Agner - 2016-06-03
last reply Test suite for VCL? And how to submit patches new - Peter Cordes - 2016-06-03