Added rounding code to getRow() as well and updated the tests accordingly.
[zxing.git] / core / test / src / com / google / zxing / oned / UPCABlackBox4TestCase.java
index 699e02a..b6da811 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 UPCABlackBox4TestCase extends AbstractBlackBoxTestCase {
 
   public UPCABlackBox4TestCase() {
-    super(new File("test/data/blackbox/upca-4"), new MultiFormatReader(), BarcodeFormat.UPC_A);
-    addTest(8, 10, 0.0f);
-    addTest(7, 12, 180.0f);
+    super("test/data/blackbox/upca-4", new MultiFormatReader(), BarcodeFormat.UPC_A);
+    addTest(9, 11, 0.0f);
+    addTest(9, 11, 180.0f);
   }
 
 }