generic test runner

This commit is contained in:
Henry Schimke
2022-10-16 13:18:13 -05:00
parent accf587bea
commit 5a1ae8cd90
4 changed files with 16 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ mod common;
fn maxicode1_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
"test_resources/blackbox/maxicode-1",
Box::new(MaxiCodeReader {}),
MaxiCodeReader {},
BarcodeFormat::MAXICODE,
);
// super("src/test/resources/blackbox/maxicode-1", new MultiFormatReader(), BarcodeFormat.MAXICODE);
@@ -44,7 +44,7 @@ fn maxicode1_test_case() {
fn maxi_code_black_box1_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
"test_resources/blackbox/maxicode-1",
Box::new(MaxiCodeReader {}),
MaxiCodeReader {},
BarcodeFormat::MAXICODE,
);
// super("src/test/resources/blackbox/maxicode-1", new MultiFormatReader(), BarcodeFormat.MAXICODE);