diff options
author | Haavard <havardpe@yahoo-inc.com> | 2016-12-14 09:55:37 +0000 |
---|---|---|
committer | Haavard <havardpe@yahoo-inc.com> | 2016-12-14 10:08:33 +0000 |
commit | cea23ae0ad6f0cf114b7adc5f35a9d9f13465e9a (patch) | |
tree | cf1aa7ca665dff1cbf01266bd8f35275295d2855 /searchlib/src/tests/queryeval/blueprint/leaf_blueprints_test.cpp | |
parent | 661f9809c40892d3828a990b2a678f7131d6591f (diff) |
remove features from match data
Diffstat (limited to 'searchlib/src/tests/queryeval/blueprint/leaf_blueprints_test.cpp')
-rw-r--r-- | searchlib/src/tests/queryeval/blueprint/leaf_blueprints_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/tests/queryeval/blueprint/leaf_blueprints_test.cpp b/searchlib/src/tests/queryeval/blueprint/leaf_blueprints_test.cpp index 6efa3454d01..782e1ea5ea8 100644 --- a/searchlib/src/tests/queryeval/blueprint/leaf_blueprints_test.cpp +++ b/searchlib/src/tests/queryeval/blueprint/leaf_blueprints_test.cpp @@ -22,7 +22,7 @@ public: void Test::testEmptyBlueprint() { - MatchData::UP md(MatchData::makeTestInstance(0, 100, 10)); + MatchData::UP md(MatchData::makeTestInstance(100, 10)); EmptyBlueprint empty(FieldSpecBase(1, 11)); ASSERT_TRUE(empty.getState().numFields() == 1u); EXPECT_EQUAL(1u, empty.getState().field(0).getFieldId()); @@ -40,7 +40,7 @@ Test::testEmptyBlueprint() void Test::testSimpleBlueprint() { - MatchData::UP md(MatchData::makeTestInstance(0, 100, 10)); + MatchData::UP md(MatchData::makeTestInstance(100, 10)); SimpleResult a; a.addHit(3).addHit(5).addHit(7); SimpleBlueprint simple(a); @@ -59,7 +59,7 @@ Test::testSimpleBlueprint() void Test::testFakeBlueprint() { - MatchData::UP md(MatchData::makeTestInstance(0, 100, 10)); + MatchData::UP md(MatchData::makeTestInstance(100, 10)); FakeResult fake; fake.doc(10).len(50).pos(2).pos(3) .doc(25).len(10).pos(5); |