/*
- * Copyright 2008 Google Inc.
+ * Copyright 2008 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
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(), 0.66, BarcodeFormat.EAN_13);
+ super("test/data/blackbox/ean13-1", new MultiFormatReader(), BarcodeFormat.EAN_13);
+ addTest(29, 31, 0.0f);
+ addTest(27, 31, 180.0f);
}
}
\ No newline at end of file