added new helper methods to work with ground-truth

made some assertions optional [i know what i am doing!]
This commit is contained in:
2017-03-24 11:20:29 +01:00
parent c0cef979bb
commit e34e773e31
5 changed files with 52 additions and 10 deletions

View File

@@ -87,7 +87,7 @@ namespace Floorplan {
if (diff < 0.1) {++numNear;} else {++numFar;}
}
if ((numNear + numFar) > 150000) {
Assert::isTrue(numNear < numFar*0.1,
Assert::isTrue(numNear < numFar*0.15,
"many requests to Floorplan::Ceilings::numCeilingsBetween address nodes (very) near to a ground! \
due to rounding issues, determining the number of floors between AP and point-in-question is NOT possible! \
expect very wrong outputs! \