At last update to JUnit 4.x
[zxing.git] / core / test / src / com / google / zxing / oned / EAN13BlackBox2TestCase.java
index 82b3633..155dd01 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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(), 0, BarcodeFormat.EAN_13);
+    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
+}