projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added rounding code to getRow() as well and updated the tests accordingly.
[zxing.git]
/
core
/
test
/
src
/
com
/
google
/
zxing
/
oned
/
UPCABlackBox4TestCase.java
diff --git
a/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java
b/core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java
index
87c6dc0
..
b6da811
100644
(file)
--- a/
core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java
+++ b/
core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java
@@
-16,21
+16,19
@@
package com.google.zxing.oned;
package com.google.zxing.oned;
-import com.google.zxing.MultiFormatReader;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.BarcodeFormat;
+import com.google.zxing.MultiFormatReader;
import com.google.zxing.common.AbstractBlackBoxTestCase;
import com.google.zxing.common.AbstractBlackBoxTestCase;
-import java.io.File;
-
/**
* @author dswitkin@google.com (Daniel Switkin)
*/
public final class UPCABlackBox4TestCase extends AbstractBlackBoxTestCase {
public UPCABlackBox4TestCase() {
/**
* @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(
0,
1, 0.0f);
- addTest(
0,
1, 180.0f);
+ super(
"test/data/blackbox/upca-4"
, new MultiFormatReader(), BarcodeFormat.UPC_A);
+ addTest(
9, 1
1, 0.0f);
+ addTest(
9, 1
1, 180.0f);
}
}
-}
\ No newline at end of file
+}