/*
- * 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;
-
/**
+ * This is a set of mobile image taken at 480x360 with difficult lighting.
+ *
* @author dswitkin@google.com (Daniel Switkin)
*/
public final class EAN13BlackBox2TestCase extends AbstractBlackBoxTestCase {
public EAN13BlackBox2TestCase() {
- super(new File("test/data/blackbox/ean13-2"), new MultiFormatReader(), BarcodeFormat.EAN_13);
- addTest(1, 0.0f);
- addTest(1, 180.0f);
+ super("test/data/blackbox/ean13-2", new MultiFormatReader(), BarcodeFormat.EAN_13);
+ addTest(11, 16, 0.0f);
+ addTest(10, 16, 180.0f);
}
-}
\ No newline at end of file
+}