wip: inop dx_film_edge port and filtered reader

This commit is contained in:
Henry Schimke
2024-01-30 13:19:53 -06:00
parent dc1a1505b1
commit 8a109b1098
23 changed files with 421 additions and 36 deletions

27
tests/dx_film_edge.rs Normal file
View File

@@ -0,0 +1,27 @@
// dxfilmedge-1
#![cfg(feature = "image")]
use rxing::{BarcodeFormat, MultiFormatReader};
mod common;
/**
* @author Sean Owen
*/
#[cfg(feature = "image-formats")]
#[test]
fn dx_film_edge() {
let mut tester = common::AbstractBlackBoxTestCase::new(
"test_resources/blackbox/dxfilmedge-1",
MultiFormatReader::default(),
BarcodeFormat::DXFilmEdge,
);
tester.add_test(1, 2, 0.0);
tester.add_test(1, 2, 90.0);
tester.add_test(1, 2, 180.0);
tester.add_test(1, 2, 320.0);
tester.test_black_box()
}