mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-02-15 01:48:40 +00:00
Update ImageUtilsTest.cpp
This commit is contained in:
parent
2d2ab7632a
commit
78f31ef6c2
|
|
@ -25,9 +25,9 @@ int main(int argc, char** argv)
|
||||||
ASSERT_EQUALS(black, 0.0, "%f", "%f");
|
ASSERT_EQUALS(black, 0.0, "%f", "%f");
|
||||||
|
|
||||||
float other = Image::ImageUtils::lightnessFromRgb(125, 125, 125);
|
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");
|
printf("\n\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user