Remove use of deprecated tessedit_do_invert in tests

This commit is contained in:
Robert Pösel 2022-11-21 17:37:14 +01:00
parent 667f2de6fb
commit 71b66af8b7

View File

@ -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();