|
| 1 | +// (C) Copyright 2017, Google Inc. |
| 2 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | +// you may not use this file except in compliance with the License. |
| 4 | +// You may obtain a copy of the License at |
| 5 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | +// Unless required by applicable law or agreed to in writing, software |
| 7 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 8 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 9 | +// See the License for the specific language governing permissions and |
| 10 | +// limitations under the License. |
1 | 11 |
|
2 | 12 | #include <memory>
|
3 | 13 |
|
4 |
| -#include "tesseract/textord/colpartition.h" |
5 |
| -#include "tesseract/textord/colpartitiongrid.h" |
6 |
| -#include "tesseract/textord/tablerecog.h" |
| 14 | +#include "colpartition.h" |
| 15 | +#include "colpartitiongrid.h" |
| 16 | +#include "tablerecog.h" |
| 17 | + |
| 18 | +#include "include_gunit.h" |
7 | 19 |
|
8 | 20 | using tesseract::ColPartition;
|
9 | 21 | using tesseract::ColPartition_LIST;
|
@@ -83,7 +95,7 @@ class SharedTest : public testing::Test {
|
83 | 95 | ColPartition* part = ColPartition::FakePartition(box, PT_FLOWING_TEXT,
|
84 | 96 | BRT_TEXT, BTFT_NONE);
|
85 | 97 | part->set_median_width(3);
|
86 |
| - part->set_median_size(3); |
| 98 | + part->set_median_height(3); |
87 | 99 | text_grid_->InsertBBox(true, true, part);
|
88 | 100 |
|
89 | 101 | tesseract::ColPartition_IT add_it(&allocated_parts_);
|
|
0 commit comments