From bcedacaa3d9e51d5c1dfb1d4614fb4ced6516382 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 10 Sep 2018 14:51:30 +0200 Subject: [PATCH] test: fix samplefilt unit test to work with low-precision clock --- test/unit/samplefilt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/unit/samplefilt.c b/test/unit/samplefilt.c index 294a9bf..a371b3a 100644 --- a/test/unit/samplefilt.c +++ b/test/unit/samplefilt.c @@ -18,9 +18,13 @@ ********************************************************************** */ -#include +#include #include "test.h" +#define LCL_GetSysPrecisionAsQuantum() (1.0e-6) + +#include + void test_unit(void) {