.github test failure check
This commit is contained in:
parent
d8da82c74d
commit
ba7ec1914d
Binary file not shown.
@ -59,7 +59,7 @@ void UtilTests::NoisyCircleApproximation()
|
|||||||
points.push_back(center + offset + noise);
|
points.push_back(center + offset + noise);
|
||||||
}
|
}
|
||||||
auto circCenter = Util::findCenterOfCircle(points);
|
auto circCenter = Util::findCenterOfCircle(points);
|
||||||
constexpr double maxDelta = 0.1;
|
constexpr double maxDelta = 0.0;
|
||||||
QVERIFY(abs(center.real() - circCenter.real()) <= maxDelta);
|
QVERIFY(abs(center.real() - circCenter.real()) <= maxDelta);
|
||||||
QVERIFY(abs(center.imag() - circCenter.imag()) <= maxDelta);
|
QVERIFY(abs(center.imag() - circCenter.imag()) <= maxDelta);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user