Update ImageUtilsTest.cpp

This commit is contained in:
Dennis Eichhorn 2022-04-07 14:19:07 +02:00 committed by GitHub
parent 2d2ab7632a
commit 78f31ef6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,9 +25,9 @@ int main(int argc, char** argv)
ASSERT_EQUALS(black, 0.0, "%f", "%f");
float other = Image::ImageUtils::lightnessFromRgb(125, 125, 125);
ASSERT_EQUALS__DELTA(other, 0.524, 0.001, "%f", "%f");
ASSERT_EQUALS_WITH_DELTA(other, 0.524, 0.001, "%f", "%f");
printf("\n\n");
return 0;
}
}