test: fix two more failing FP3232 tests
authorDave Airlie <airlied@redhat.com>
Wed, 26 Oct 2011 22:38:45 +0000 (08:38 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 26 Oct 2011 22:41:08 +0000 (08:41 +1000)
commit005ab41986b0bb6a4e626aee7a7a542247f422e7
tree451ea9769ce05147a622aad628e051afe0241436
parent5701ab4a441eb113abd0851b0d71b82d12112854
test: fix two more failing FP3232 tests

And put a comment in to explain why we're testing for a frac between .3 and
.6. We can't directly compare the frac since the floating/fixed point
conversion loses precision.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
test/xi2/protocol-common.c
test/xi2/protocol-eventconvert.c
test/xi2/protocol-xiquerydevice.c