fix testSaveLoad

pull/20515/head
utibenkei 3 years ago
parent f7c82baee9
commit 9d61c18143
  1. 2
      modules/ml/misc/java/test/MLTest.java

@ -36,7 +36,7 @@ public class MLTest extends OpenCVTestCase {
String filename = OpenCVTestRunner.getTempFileName("yml");
saved.save(filename);
SVM loaded = SVM.load(filename);
assertTrue(saved.isTrained());
assertTrue(loaded.isTrained());
}
}

Loading…
Cancel
Save