More UPC-A tests: interesting clear but low-res images that don't decode
git-svn-id: https://zxing.googlecode.com/svn/trunk@587 59b500cc-1b3d-0410-9834-0bbf25fbcc57
BIN
core/test/data/blackbox/upca-4/1.jpg
Normal file
After Width: | Height: | Size: 23 KiB |
1
core/test/data/blackbox/upca-4/1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
023942431015
|
BIN
core/test/data/blackbox/upca-4/2.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
1
core/test/data/blackbox/upca-4/2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
023942431015
|
BIN
core/test/data/blackbox/upca-4/3.jpg
Normal file
After Width: | Height: | Size: 61 KiB |
1
core/test/data/blackbox/upca-4/3.txt
Normal file
|
@ -0,0 +1 @@
|
|||
023942431015
|
BIN
core/test/data/blackbox/upca-4/4.jpg
Normal file
After Width: | Height: | Size: 23 KiB |
1
core/test/data/blackbox/upca-4/4.txt
Normal file
|
@ -0,0 +1 @@
|
|||
023942431015
|
BIN
core/test/data/blackbox/upca-4/5.jpg
Normal file
After Width: | Height: | Size: 26 KiB |
1
core/test/data/blackbox/upca-4/5.txt
Normal file
|
@ -0,0 +1 @@
|
|||
023942431015
|
BIN
core/test/data/blackbox/upca-4/6.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
1
core/test/data/blackbox/upca-4/6.txt
Normal file
|
@ -0,0 +1 @@
|
|||
023942431015
|
BIN
core/test/data/blackbox/upca-4/7.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
1
core/test/data/blackbox/upca-4/7.txt
Normal file
|
@ -0,0 +1 @@
|
|||
023942431015
|
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.google.zxing.oned;
|
||||
|
||||
import com.google.zxing.MultiFormatReader;
|
||||
import com.google.zxing.BarcodeFormat;
|
||||
import com.google.zxing.common.AbstractBlackBoxTestCase;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @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);
|
||||
}
|
||||
|
||||
}
|