[tests] Use float to compare floating values
commitf05ef7027920e04e81a87c6e100eb67640d4dcd7
authorNicola Fontana <ntd@entidi.it>
Sun, 13 Mar 2011 01:40:42 +0000 (13 02:40 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 13 Mar 2011 01:40:42 +0000 (13 02:40 +0100)
tree1d2126beb0f86e81444a3122daea4c7cbc5933cc
parent2d0a0a2ffe2cecb644b579df2a30d84ac4fcc464
[tests] Use float to compare floating values

FreeBSD seems to suffer a precision loss in g_value_get_double() that
invalidates the comparation between doubles. Casting to float all the
assertions because no high-precision comparison is required.
src/adg/tests/test-internal.h