mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
feat: initial port for Rectangular Micro QR
This is the intial port for rMQR support. Directly ported from 7a294f2f3c (diff-5d6a0ddd024f3102876492f502a41becde594de81f46d942b87b64cbfdc1985b)
subsequent improvements will be incorporated in future patches.
This commit is contained in:
@@ -311,3 +311,18 @@ fn cpp_qrcode_black_box7_test_case() {
|
||||
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn cpp_rmqr_blackbox_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
"test_resources/blackbox/cpp/rmqrcode-1",
|
||||
QrReader,
|
||||
BarcodeFormat::RECTANGULAR_MICRO_QR_CODE,
|
||||
);
|
||||
tester.add_test(1, 1, 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