diff --git a/core/test/data/blackbox/upca-4/8.jpg b/core/test/data/blackbox/upca-4/8.jpg new file mode 100644 index 000000000..5c0c640d8 Binary files /dev/null and b/core/test/data/blackbox/upca-4/8.jpg differ diff --git a/core/test/data/blackbox/upca-4/8.txt b/core/test/data/blackbox/upca-4/8.txt new file mode 100644 index 000000000..29cffd2f8 --- /dev/null +++ b/core/test/data/blackbox/upca-4/8.txt @@ -0,0 +1 @@ +060410049235 \ No newline at end of file diff --git a/core/test/data/blackbox/upca-4/9.jpg b/core/test/data/blackbox/upca-4/9.jpg new file mode 100644 index 000000000..babba3722 Binary files /dev/null and b/core/test/data/blackbox/upca-4/9.jpg differ diff --git a/core/test/data/blackbox/upca-4/9.txt b/core/test/data/blackbox/upca-4/9.txt new file mode 100644 index 000000000..29cffd2f8 --- /dev/null +++ b/core/test/data/blackbox/upca-4/9.txt @@ -0,0 +1 @@ +060410049235 \ No newline at end of file diff --git a/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java b/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java index 87c6dc05c..58a31edbc 100644 --- a/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java +++ b/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java @@ -29,8 +29,8 @@ public final class UPCABlackBox4TestCase extends AbstractBlackBoxTestCase { public UPCABlackBox4TestCase() { super(new File("test/data/blackbox/upca-4"), new MultiFormatReader(), BarcodeFormat.UPC_A); - addTest(0, 1, 0.0f); - addTest(0, 1, 180.0f); + addTest(1, 2, 0.0f); + addTest(1, 2, 180.0f); } -} \ No newline at end of file +}