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 aztec_black_box1_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
"test_resources/blackbox/aztec-1",
Box::new(AztecReader {}),
AztecReader {},
BarcodeFormat::AZTEC,
);
@@ -47,7 +47,7 @@ fn aztec_black_box1_test_case() {
fn aztec_black_box2_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
"test_resources/blackbox/aztec-2",
Box::new(AztecReader {}),
AztecReader {},
BarcodeFormat::AZTEC,
);
// super(, new AztecReader(), BarcodeFormat.AZTEC);