// Unit tests for ResampleEffect.
-#include "test_util.h"
+#include <math.h>
+#include <iomanip>
+
+#include "effect_chain.h"
+#include "flat_input.h"
#include "gtest/gtest.h"
+#include "image_format.h"
#include "resample_effect.h"
-#include "flat_input.h"
+#include "test_util.h"
namespace {
float expected_data[size * size] = {
0.0045, -0.0067, -0.0598, -0.0067, 0.0045,
-0.0067, 0.0099, 0.0886, 0.0099, -0.0067,
- -0.0598, 0.0886, 0.7871, 0.0886, -0.0598,
+ -0.0598, 0.0886, 0.7930, 0.0886, -0.0598,
-0.0067, 0.0099, 0.0886, 0.0099, -0.0067,
0.0045, -0.0067, -0.0598, -0.0067, 0.0045,
};