mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-08 13:27:57 +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
@@ -538,8 +538,8 @@ void generateRandomTest(uint32_t numberOfPoints, size_t stringLength)
|
||||
MapPoint const & p = api.GetMapPoints()[i];
|
||||
TEST_EQUAL(p.m_name, vect[i].m_name, ());
|
||||
TEST_EQUAL(p.m_id, vect[i].m_id, ());
|
||||
TEST(base::AlmostEqualULPs(p.m_lat, vect[i].m_lat), ());
|
||||
TEST(base::AlmostEqualULPs(p.m_lon, vect[i].m_lon), ());
|
||||
TEST(AlmostEqualULPs(p.m_lat, vect[i].m_lat), ());
|
||||
TEST(AlmostEqualULPs(p.m_lon, vect[i].m_lon), ());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user