tighten bounds on filter normalization test

master
Sean Barrett ago%!(EXTRA string=11 years)
parent 7f8ac35e42
commit 36db03f390
  1. 2
      tests/resample_test.cpp

@ -614,7 +614,7 @@ void test_suite(int argc, char **argv)
sums[3] += stbir__filter_bilinear(x+o);
}
for (i=0; i < 4; ++i)
STBIR_ASSERT(sums[i] >= 1.0 - 0.01 && sums[i] <= 1.0 + 0.01);
STBIR_ASSERT(sums[i] >= 1.0 - 0.001 && sums[i] <= 1.0 + 0.001);
}
#if 1

Loading…
Cancel
Save