void expect_equal(const unsigned char *ref, const unsigned char *result, unsigned width, unsigned height, unsigned largest_difference_limit, float rms_limit)
{
+ assert(width > 0);
+ assert(height > 0);
+
float *ref_float = new float[width * height];
float *result_float = new float[width * height];
}
expect_equal(ref_float, result_float, width, height, largest_difference_limit, rms_limit);
+
+ delete[] ref_float;
+ delete[] result_float;
}