File tree 3 files changed +96
-75
lines changed
3 files changed +96
-75
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ check_PROGRAMS = \
124
124
progress_test \
125
125
qrsequence_test \
126
126
rect_test \
127
+ stringrenderer_test \
127
128
stats_test \
128
129
tablefind_test \
129
130
tablerecog_test \
@@ -242,6 +243,9 @@ qrsequence_test_LDADD = $(ABSEIL_LIBS) $(GTEST_LIBS) $(TESS_LIBS)
242
243
rect_test_SOURCES = rect_test.cc
243
244
rect_test_LDADD = $(GTEST_LIBS ) $(TESS_LIBS )
244
245
246
+ stringrenderer_test_SOURCES = stringrenderer_test.cc
247
+ stringrenderer_test_LDADD = $(ABSEIL_LIBS ) $(GTEST_LIBS ) $(TRAINING_LIBS ) $(TESS_LIBS ) $(ICU_I18N_LIBS ) $(ICU_UC_LIBS ) -lfontconfig -lpangocairo-1.0 -lpangoft2-1.0 $(cairo_LIBS ) $(pango_LIBS )
248
+
245
249
stats_test_SOURCES = stats_test.cc
246
250
stats_test_LDADD = $(GTEST_LIBS ) $(TESS_LIBS )
247
251
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ class file : public tesseract::File {
53
53
#define ARRAYSIZE (arr ) (sizeof (arr) / sizeof (arr[0 ]))
54
54
#define CHECK (test ) ASSERT_HOST(test)
55
55
#define CHECK_GT (test, value ) ASSERT_HOST((test) > (value))
56
+ #define CHECK_LT (test, value ) ASSERT_HOST((test) < (value))
56
57
#define CHECK_OK (test ) ASSERT_HOST(test)
57
58
58
59
#endif // TESSERACT_UNITTEST_INCLUDE_GUNIT_H_
You can’t perform that action at this time.
0 commit comments