mirror of
https://github.com/adaptech-cz/Tesseract4Android.git
synced 2026-01-09 06:12:45 +08:00
Remove use of deprecated tessedit_do_invert in tests
This commit is contained in:
parent
667f2de6fb
commit
71b66af8b7
@ -730,8 +730,8 @@ public class TessBaseAPITest {
|
||||
assertNull(nonExistingVariable);
|
||||
|
||||
// Existing value should return real value
|
||||
String existingVariable = baseApi.getVariable("tessedit_do_invert");
|
||||
assertTrue("0".equals(existingVariable) || "1".equals(existingVariable));
|
||||
String existingVariable = baseApi.getVariable("invert_threshold");
|
||||
assertNotNull(existingVariable);
|
||||
|
||||
// Attempt to shut down the API.
|
||||
baseApi.recycle();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user