mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
@@ -464,8 +464,10 @@ impl<T: Reader> AbstractBlackBoxTestCase<T> {
|
||||
);
|
||||
|
||||
result = if let Ok(res) = self.barcode_reader.decode_with_hints(source, &pure_hints) {
|
||||
log::fine(format!("{suffix} - read pure barcode"));
|
||||
Some(res)
|
||||
} else {
|
||||
// log::fine(format!("{suffix} - could not read pure barcode"));
|
||||
None
|
||||
};
|
||||
}
|
||||
|
||||
@@ -319,10 +319,12 @@ fn cpp_rmqr_blackbox_test_case() {
|
||||
QrReader,
|
||||
BarcodeFormat::RECTANGULAR_MICRO_QR_CODE,
|
||||
);
|
||||
tester.add_test(1, 1, 0.0);
|
||||
tester.add_test(2, 2, 0.0);
|
||||
tester.add_test(1, 1, 90.0);
|
||||
tester.add_test(1, 1, 180.0);
|
||||
tester.add_test(1, 1, 270.0);
|
||||
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user