test: replace the double assert macros with proper checks
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 12 Jun 2019 04:11:00 +0000 (14:11 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 13 Jun 2019 22:52:25 +0000 (08:52 +1000)
commitf70b80569a7f4046c47cd1c4eae5f06ff7d79a10
tree6a5c5f2a948c6953a932eaf3cc64200c5a6d34b9
parentc3005ce48e484d976a76fa4c4c6a9a5a7b521fba
test: replace the double assert macros with proper checks

Instead of value * 256 which makes for bad debug messages, expand it to a full
double test with a 1/256 epsilon.

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