Fix test for value type interceptors.
authorGlenn Watson <glenn.watson@nokia.com>
Wed, 11 Jul 2012 01:50:47 +0000 (11:50 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 11 Jul 2012 02:58:29 +0000 (04:58 +0200)
commita1d2c2708697cd8e2b3ade2b204c3f618b0c135d
tree7e7e7958673ade3d02623dd45fff9ac8b844a690
parent32b595feb5d5dcaf9cdea9c1f8ce59ac151fb8cd
Fix test for value type interceptors.

In release mode, floating point inaccuracies can cause this test
to fail. Use a fuzzy compare since it doesn't affect what the test
is actually trying to check for.

Change-Id: I5e3d073614090450216c33fcc561a7454cf44ac3
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp