qt5base-lts/tests/auto/testlib/selftests/float
Edward Welbourne ab53f0f24e QtTestLib: unify handling of float and double using suitable templates
The QTest::qCompare() implementations were almost duplicates; pull the
common code out into a templated version.  Tweaked the
QTest::toString() specialization for float and double (a macro) and
fixed a bous modifier in double's format.

The doubleComparisons and floatComparisons tests in the tst_float.cpp
selftest shared a large block of tests in common, aside from the
difference of type.  Break this out into a templated static function
to save duplication.

This prepares the way for using the same templated code for qfloat16.

Change-Id: I2823fd006910c5ff88335d625d1fa05cb7753513
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-03-04 10:01:35 +00:00
..
float.pro Add a feature to enable CodeCoverage analysis of testlib 2019-01-24 15:51:13 +00:00
tst_float.cpp QtTestLib: unify handling of float and double using suitable templates 2019-03-04 10:01:35 +00:00