Am Samstag, 24. Mai 2008 10:33:42 schrieb H. Verbeet:
The color_match() function which this test introduces should be used for the other visual tests that require an approximate match as well, but doing this is outside the scope of this patch.
Dan recently added color_near() for this purpose. Is there any difference between the functions(I see that yours passes the hardcoded slop as a parameter). Do you have any preference towards any implementation? I'm inclined to use yours because of the additional parameter and the better checking with abs()