summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorAndreas Pokorny <andreas.pokorny@canonical.com>2015-06-22 12:48:07 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2015-07-07 17:49:17 +1000
commit1309718c003ad9cd440fc03315e450ccb83ff51d (patch)
tree642a2332caae98e3c7c2353817d617b244a3d217 /CODING_STYLE
parent2f8703620e130c4d022b40c4c694301ca3679775 (diff)
litest: floating point comparison macros
Adds the macros ck_assert_double_{eq,ne,lt,gt,le,ge} to compare double values using a fixed tolerance value. The tolerance value is picked based on the range of values to be expected by the libinput API. Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions