From: dswitkin Date: Wed, 1 Oct 2008 14:17:17 +0000 (+0000) Subject: Added two more UPC-A blackbox images submitted by the community. X-Git-Url: http://git.rot13.org/?p=zxing.git;a=commitdiff_plain;h=1ce4a98557d99ace838c65201a9bb2ceef10c228 Added two more UPC-A blackbox images submitted by the community. git-svn-id: http://zxing.googlecode.com/svn/trunk@593 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- 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 00000000..5c0c640d 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 00000000..29cffd2f --- /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 00000000..babba372 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 00000000..29cffd2f --- /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 87c6dc05..58a31edb 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 +}