blob: 688a598e682a523ef49fb88ac1dd8246065ed915 (
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<FileReader>::Type index;
index.Add(GetPlatform().WritablePathForFile("minsk-pass" DATA_FILE_EXTENSION));
// Make sure that index is actually parsed.
index.ForEachInScale(NoopFunctor(), 15);
}
|