mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-03 19:33:49 +00:00
ADL for AlmostEqual* and use math:: instead of base:: (#9634)
* ADL for AlmostEqual* and use math:: instead of base:: Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
82133c5743
commit
30718e106e
@@ -33,7 +33,7 @@ UNIT_TEST(Rect_PolylineSmokeTest)
|
||||
|
||||
auto const limitRect = poly.GetLimitRect();
|
||||
TEST_ALMOST_EQUAL_ABS(limitRect.LeftBottom(), m2::PointD(0.0, 0.0), kEps, ());
|
||||
TEST(base::AlmostEqualAbs(limitRect.RightTop(), m2::PointD(1.0, 1.0), kEps), ());
|
||||
TEST(AlmostEqualAbs(limitRect.RightTop(), m2::PointD(1.0, 1.0), kEps), ());
|
||||
|
||||
poly.PopBack();
|
||||
TEST_EQUAL(poly.GetSize(), 2, ());
|
||||
|
||||
Reference in New Issue
Block a user