mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 20:32:34 +00:00
wip: inop dx_film_edge port and filtered reader
This commit is contained in:
27
tests/dx_film_edge.rs
Normal file
27
tests/dx_film_edge.rs
Normal 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()
|
||||
}
|
||||
Reference in New Issue
Block a user