commit 464288bab3131daeaf240168ba35742b8089fc16 parent b73a4f29e22f935e53accfd5ccefe276af0bf0de Author: d.levin256@gmail.com <d.levin256@gmail.com> Date: Wed, 19 Dec 2018 15:29:59 +0000 Fix resampler test Diffstat:
M | tests/resampler_test.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/resampler_test.cpp b/tests/resampler_test.cpp @@ -24,7 +24,7 @@ TEST(resampler_test) out_sr / 10); resampler.process(out, in); - ASSERT(rms(slice(out - ref, ceil(delay * 2))) < 0.0001); + CHECK(rms(slice(out - ref, ceil(delay * 2))) < 0.005f); } #ifndef KFR_NO_MAIN