diff --git a/unittest/Makefile.am b/unittest/Makefile.am index ad5ac3708d..ebc71a9294 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -70,6 +70,7 @@ check_PROGRAMS = \ stats_test \ tablefind_test \ tablerecog_test \ + tabvector_test \ tesseracttests TESTS = $(check_PROGRAMS) @@ -135,6 +136,9 @@ tablefind_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS) tablerecog_test_SOURCES = tablerecog_test.cc tablerecog_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS) +tabvector_test_SOURCES = tabvector_test.cc +tabvector_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS) + tesseracttests_SOURCES = ../tests/tesseracttests.cpp tesseracttests_LDADD = $(GTEST_LIBS) $(TESS_LIBS) $(LEPTONICA_LIBS) diff --git a/unittest/tabvector_test.cc b/unittest/tabvector_test.cc index 59849b0ec5..4c97264bc7 100644 --- a/unittest/tabvector_test.cc +++ b/unittest/tabvector_test.cc @@ -1,7 +1,19 @@ +// (C) Copyright 2017, Google Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. #include -#include "tesseract/textord/tabvector.h" +#include "tabvector.h" + +#include "include_gunit.h" using tesseract::TabVector;