NimaSoroush / differencify

Differencify is a library for visual regression testing
MIT License
634 stars 46 forks source link

Change the distance comparison 📐 #140

Closed Artmann closed 5 years ago

Artmann commented 5 years ago

Before this change, if you wanted to do pixel perfect comparison your only option was to specify a very small theshold and even doing that did not always yield the expected result. Changing the image comparison (distance & percetage) from less-than to less-than-or-equal-to will allow a treshold of zero.

Fixes #141

NimaSoroush commented 5 years ago

Hey @Artmann , Thanks for raising this PR