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);
}
}