catch2/tests/SelfTest
Ian Bell 53ddf37af4
Use Catch::StringMaker for output in WithinRelMatcher (#2846)
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
2024-04-15 13:35:39 +02:00
..
Baselines Use Catch::StringMaker for output in WithinRelMatcher (#2846) 2024-04-15 13:35:39 +02:00
IntrospectiveTests Fix preprocessor check for enabling FP reproducibility tests 2024-04-06 20:27:15 +02:00
Misc Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
TimingTests Fix references to license file 2022-10-28 11:30:15 +02:00
UsageTests Fix & extend tests for comparing const instances of zero lit types 2024-04-08 13:15:35 +02:00
helpers Fix & extend tests for comparing const instances of zero lit types 2024-04-08 13:15:35 +02:00
TestRegistrations.cpp Ignore C++98 related compiler warnings 2024-03-12 22:56:37 +01:00