Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index_test.cpp « indexer_tests « indexer - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ee14da7fc2811287e1594b9a45464eafa511f456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "../../testing/testing.hpp"
#include "../index.hpp"
#include "../index_builder.hpp"
#include "../../platform/platform.hpp"
#include "../../coding/file_container.hpp"
#include "../../base/macros.hpp"
#include "../../base/stl_add.hpp"
#include "../../std/string.hpp"


UNIT_TEST(IndexParseTest)
{
  Index<ModelReaderPtr>::Type index;
  index.Add(GetPlatform().GetReader("minsk-pass" DATA_FILE_EXTENSION));

  // Make sure that index is actually parsed.
  index.ForEachInScale(NoopFunctor(), 15);
}