diff --git a/unittest/Makefile.am b/unittest/Makefile.am index f9d289eca0..3283d399b0 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -55,6 +55,7 @@ check_PROGRAMS = \ bitvector_test \ cleanapi_test \ colpartition_test \ + denorm_test \ progress_test \ intsimdmatrix_test \ matrix_test \ @@ -79,6 +80,9 @@ cleanapi_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS) colpartition_test_SOURCES = colpartition_test.cc colpartition_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS) +denorm_test_SOURCES = denorm_test.cc +denorm_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS) + progress_test_SOURCES = progress_test.cc progress_test_LDFLAGS = $(OPENCL_LDFLAGS) $(LEPTONICA_LIBS) progress_test_LDADD = $(GTEST_LIBS) $(GMOCK_LIBS) $(TESS_LIBS) $(LEPTONICA_LIBS) diff --git a/unittest/denorm_test.cc b/unittest/denorm_test.cc index 8366044af2..b6da992ae8 100644 --- a/unittest/denorm_test.cc +++ b/unittest/denorm_test.cc @@ -1,6 +1,18 @@ +// (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 "tesseract/ccstruct/blobs.h" -#include "tesseract/ccstruct/normalis.h" +#include "blobs.h" +#include "normalis.h" + +#include "include_gunit.h" namespace {