diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-03-30 15:25:11 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-04-01 23:11:34 +0200 |
commit | 3a2e3625d1e710795233aff9601ae9219f498edc (patch) | |
tree | 8412e88b0cd74f4f0334a6f1199a152328e63361 /tests/auto/corelib/text/qlocale/tst_qlocale.cpp | |
parent | 67a563e5c55df8de595822880d92e297f580e053 (diff) |
Use constants of the correct type in qnumeric NaN test
Replaces 0, 0.0, 1, 1.0 and 2.0 with zero, one and two constants of
the templated floating-point type, to avoid type-conversions which
might have meant the test only checked doubles, or similar.
Change-Id: Id9d4488f0cc7226b5b8958d2a204a76fe5ae469d
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'tests/auto/corelib/text/qlocale/tst_qlocale.cpp')
0 files changed, 0 insertions, 0 deletions