mirror of https://github.com/catchorg/Catch2.git
53ddf37af4
The WithinRelMatcher does not listen to the precision specification; it just naively pipes to stringstream. If you specify the precision, that has no impact on the outputted values when the match fails. This fix makes the WithinRelMatcher listen to the precision (https://github.com/catchorg/Catch2/blob/devel/docs/tostring.md#floating-point-precision) specified by: Catch::StringMaker<float>::precision |
||
---|---|---|
.. | ||
automake.std.approved.txt | ||
automake.sw.approved.txt | ||
automake.sw.multi.approved.txt | ||
compact.sw.approved.txt | ||
compact.sw.multi.approved.txt | ||
console.std.approved.txt | ||
console.sw.approved.txt | ||
console.sw.multi.approved.txt | ||
console.swa4.approved.txt | ||
default.sw.multi.approved.txt | ||
junit.sw.approved.txt | ||
junit.sw.multi.approved.txt | ||
sonarqube.sw.approved.txt | ||
sonarqube.sw.multi.approved.txt | ||
tap.sw.approved.txt | ||
tap.sw.multi.approved.txt | ||
teamcity.sw.approved.txt | ||
teamcity.sw.multi.approved.txt | ||
xml.sw.approved.txt | ||
xml.sw.multi.approved.txt |