@@ -398,7 +398,7 @@ void InterpLinearExtrapIdwUnitTests::testOutsideInterpolatePoint()
398
398
Pt3d pt (0 , 25 , 0 );
399
399
400
400
float val = interpolator->InterpToPt (pt);
401
- TS_ASSERT_DELTA (2.70349288 , val, FLT_EPSILON );
401
+ TS_ASSERT_DELTA (2.70349288 , val, 1e-7 );
402
402
} // InterpLinearExtrapIdwUnitTests::testOutsideInterpolatePoint
403
403
// ------------------------------------------------------------------------------
404
404
// / \brief tests doing interpolation to point inside the triangles
@@ -416,7 +416,7 @@ void InterpLinearExtrapIdwUnitTests::testInsideInterpolatePoint()
416
416
Pt3d pt (5 , 5 , 0 );
417
417
418
418
float val = interpolator->InterpToPt (pt);
419
- TS_ASSERT_DELTA (2.0 , val, FLT_EPSILON );
419
+ TS_ASSERT_DELTA (2.0 , val, 1e-7 );
420
420
} // InterpLinearExtrapIdwUnitTests::testInsideInterpolatePoint
421
421
// ------------------------------------------------------------------------------
422
422
// / \brief tests doing interpolation to point inside the triangles
@@ -434,7 +434,7 @@ void InterpLinearExtrapIdwUnitTests::testOneEdgeInterpolatePoint()
434
434
Pt3d pt (10 , 10 , 0 );
435
435
436
436
float val = interpolator->InterpToPt (pt);
437
- TS_ASSERT_DELTA (2.0 , val, FLT_EPSILON );
437
+ TS_ASSERT_DELTA (2.0 , val, 1e-7 );
438
438
} // InterpLinearExtrapIdwUnitTests::testOneEdgeInterpolatePoint
439
439
// } // namespace xms
440
440
#endif // CXX_TEST
0 commit comments