import com.google.zxing.MultiFormatReader;
import com.google.zxing.common.AbstractBlackBoxTestCase;
-import java.io.File;
-
/**
* @author dswitkin@google.com (Daniel Switkin)
*/
public final class Code128BlackBox2TestCase extends AbstractBlackBoxTestCase {
public Code128BlackBox2TestCase() {
- super(new File("test/data/blackbox/code128-2"), new MultiFormatReader(), BarcodeFormat.CODE_128);
- addTest(9, 0.0f);
- addTest(8, 180.0f);
+ super("test/data/blackbox/code128-2", new MultiFormatReader(), BarcodeFormat.CODE_128);
+ addTest(36, 39, 0.0f);
+ addTest(36, 39, 180.0f);
}
}
\ No newline at end of file