[std-interval] Test compliance?
Guillaume Melquiond
guillaume.melquiond at ens-lyon.fr
Mon Mar 6 21:32:39 PST 2006
Le dimanche 05 mars 2006 à 15:56 -0600, George Corliss a écrit :
> Guillaume, Hervé, Sylvain,
>
> Is there, or is there a plan for, a suite a program to check compliance with
> the proposed C++ interval standard?
None that I know of.
> It would seem that such a suite might serve several functions:
>
> 1. Writing careful test cases might uncover weaknesses in the proposal.
>
> 2. If the proposal and the test suite agree, reading the code in the test
> suite may help some people understand what is the intent of the standard.
> If so, the intent of the standard might benefit from clarification.
>
> 3. One way to produce multiple reference implementations of the standard
> quickly is to write wrappers for existing packages so that they can support
> standard-compliant programs with zero modification to existing packages.
> One would like to check the resulting wrapper plus underlying package for
> compliance with the standard.
This third point seems interesting to me the other way around too. Such
a suite would indeed provide a tool for testing a common subset of any
existing interval package. The only work would be in writing a (cheap)
wrapper. This would be great.
Best regards,
Guillaume
More information about the Std-interval
mailing list