X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Foned%2FUPCABlackBox4TestCase.java;h=b6da8115a9f19942388c706cd3af9bb273fd7d9e;hp=87c6dc05ca0277ecc4fb3be6b97ea62245803d41;hb=af2a2146f0a0f79f9196501bd38f9ac2e9a6d061;hpb=6b9d7a45606970b974a92ac62bb7cf3c8bce8973 diff --git a/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java b/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java index 87c6dc05..b6da8115 100644 --- a/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java +++ b/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java @@ -16,21 +16,19 @@ package com.google.zxing.oned; -import com.google.zxing.MultiFormatReader; import com.google.zxing.BarcodeFormat; +import com.google.zxing.MultiFormatReader; import com.google.zxing.common.AbstractBlackBoxTestCase; -import java.io.File; - /** * @author dswitkin@google.com (Daniel Switkin) */ 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); + super("test/data/blackbox/upca-4", new MultiFormatReader(), BarcodeFormat.UPC_A); + addTest(9, 11, 0.0f); + addTest(9, 11, 180.0f); } -} \ No newline at end of file +}