forked from organicmaps/organicmaps
Unity warning fix
This commit is contained in:
parent
96f6b2e006
commit
aa0766233d
3 changed files with 8 additions and 8 deletions
|
@ -12,10 +12,10 @@
|
|||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
namespace pedestrian_routing_tests
|
||||
{
|
||||
using namespace std;
|
||||
|
||||
namespace
|
||||
{
|
||||
// Test preconditions: files from the kPedestrianMapFiles set with '.mwm'
|
||||
// extension must be placed in omim/data folder.
|
||||
set<string> const kPedestrianMapFiles =
|
||||
|
@ -61,7 +61,6 @@ protected:
|
|||
|
||||
FrozenDataSource m_dataSource;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
// Tests on features -------------------------------------------------------------------------------
|
||||
UNIT_CLASS_TEST(PedestrianTest, UK_Long1)
|
||||
|
@ -292,3 +291,4 @@ UNIT_CLASS_TEST(PedestrianTest, UK_Test18)
|
|||
TestTwoPoints(m2::PointD(0.57712, 60.31156), m2::PointD(-1.09911, 59.24341));
|
||||
}
|
||||
#endif
|
||||
} // namespace pedestrian_routing_tests
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace
|
||||
namespace locality_finder_test
|
||||
{
|
||||
class LocalityFinderTest : public generator::tests_support::TestWithClassificator
|
||||
{
|
||||
|
@ -81,7 +81,6 @@ public:
|
|||
|
||||
void ClearCaches() { m_finder.ClearCache(); }
|
||||
};
|
||||
} // namespace
|
||||
|
||||
UNIT_CLASS_TEST(LocalityFinderTest, Smoke)
|
||||
{
|
||||
|
@ -138,3 +137,4 @@ UNIT_CLASS_TEST(LocalityFinderTest, Moscow)
|
|||
|
||||
RunTests(input, results);
|
||||
}
|
||||
} // namespace locality_finder_test
|
||||
|
|
|
@ -24,12 +24,12 @@
|
|||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace locality_scorer_test
|
||||
{
|
||||
using namespace search;
|
||||
using namespace std;
|
||||
using namespace strings;
|
||||
|
||||
namespace
|
||||
{
|
||||
class LocalityScorerTest : public LocalityScorer::Delegate
|
||||
{
|
||||
public:
|
||||
|
@ -164,7 +164,6 @@ protected:
|
|||
|
||||
base::MemTrie<UniString, base::VectorValues<uint32_t>> m_searchIndex;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
UNIT_CLASS_TEST(LocalityScorerTest, Smoke)
|
||||
{
|
||||
|
@ -344,3 +343,4 @@ UNIT_CLASS_TEST(LocalityScorerTest, MatchedRegion)
|
|||
TEST_EQUAL(GetTopLocalities(3 /* limit */),
|
||||
Ids({ID_SPRINGFIELD_MATCHED_REGION, ID_SPRINGFIELD_CLOSE, ID_SPRINGFIELD_RANK1}), ());
|
||||
}
|
||||
} // namespace locality_scorer_test
|
||||
|
|
Loading…
Add table
Reference in a new issue