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 / Code39BlackBox3TestCase.java
index d898413..d3bc6dc 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 dswitkin@google.com (Daniel Switkin)
  */
 public final class Code39BlackBox3TestCase extends AbstractBlackBoxTestCase {
 
   public Code39BlackBox3TestCase() {
-    super(new File("test/data/blackbox/code39-3"), new MultiFormatReader(), BarcodeFormat.CODE_39);
-    addTest(17, 0.0f);
-    addTest(17, 180.0f);
+    super("test/data/blackbox/code39-3", new MultiFormatReader(), BarcodeFormat.CODE_39);
+    addTest(17, 17, 0.0f);
+    addTest(17, 17, 180.0f);
   }
 
 }
\ No newline at end of file