Reduced threshold from 0.9995 to 0.995

This commit is contained in:
Nissim Hadar 2017-12-06 16:55:32 -08:00
parent 3de34834e1
commit ebad5cf503

View file

@ -24,7 +24,7 @@ Test::Test() {
bool Test::compareImageLists(QStringList expectedImages, QStringList resultImages) {
// Loop over both lists and compare each pair of images
// Quit loop if user has aborted due to a failed test.
const double THRESHOLD{ 0.9995 };
const double THRESHOLD{ 0.995 };
bool success{ true };
bool keepOn{ true };
for (int i = 0; keepOn && i < expectedImages.length(); ++i) {