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];