mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Add test for TessBaseAPI::ClearPersistentCache to unit tests
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
83a27d357a
commit
d4bcbbd6de
@ -74,6 +74,7 @@ void OCRTester(const char *imgname, const char *groundtruth, const char *tessdat
|
||||
EXPECT_EQ(gtText, outText) << "Phototest.tif OCR does not match ground truth for "
|
||||
<< ::testing::PrintToString(lang);
|
||||
api->End();
|
||||
api->ClearPersistentCache();
|
||||
delete[] outText;
|
||||
image.destroy();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user