Issue 537, don't return UPC-A for EAN-13 starting with 0 when UPC-A isn't allowed
[zxing.git] / core / test / src / com / google / zxing / oned / EAN13BlackBox1TestCase.java
index f19ecfd..a8fc37d 100644 (file)
 
 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 srowen@google.com (Sean Owen)
+ * @author Sean Owen
  */
 public final class EAN13BlackBox1TestCase extends AbstractBlackBoxTestCase {
 
   public EAN13BlackBox1TestCase() {
-    super(new File("test/data/blackbox/ean13-1"), new MultiFormatReader(), BarcodeFormat.EAN_13);
-    addTest(27, 29, 0.0f);
-    addTest(25, 29, 180.0f);
+    super("test/data/blackbox/ean13-1", new MultiFormatReader(), BarcodeFormat.EAN_13);
+    addTest(30, 32, 0.0f);
+    addTest(27, 32, 180.0f);
   }
 
 }
\ No newline at end of file