tst_QDeclarativePosition: update fuzzy comparison usage


The m_doubleComparator function is supposed to compare any double
values, so it cannot use qFuzzyCompare().
Currently there are no places where this function is called with any
of the arguments being zero, but such tests can be added in future.

Use QtPrivate::fuzzyCompare() to make sure that the comparison will
be done properly in such cases.

Amends 4258f337f5c550c86256e4f5494a2bb9f7eedf0f.

Task-number: QTBUG-143660
Pick-to: 6.11 6.10 6.8 6.5
Change-Id: I02d37d569417fa5da821216a7c086fed2232fdb2
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commitcc089827158a466c660e1a7e3604214bd769c9e6
parent7f198e4df406ee9c7c74adf1787bf991817a36ac
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeTue, 17 Feb 2026 11:51:56 +0100