test: check the tablet pressure values with a helper function
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 13 Jun 2023 04:43:48 +0000 (14:43 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 13 Jun 2023 05:24:43 +0000 (15:24 +1000)
commit24cf215f54740a8e63cc5ec4d98494bb4a9b50f3
treeaccd9ddaf24d5953b5ad17d34a38758a6e1efdf9
parent684ac6b0c267507feb4a44a15e9575117369ce74
test: check the tablet pressure values with a helper function

Makes the code a bit easier to read. Adds precision to some tests,
slightly loosens precision in some other tests but that shouldn't matter
here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-tablet.c