Added 17 real world Code 39 images to our unit tests. We decode all 17, upside down and right-side up.
git-svn-id: https://zxing.googlecode.com/svn/trunk@460 59b500cc-1b3d-0410-9834-0bbf25fbcc57
BIN
core/test/data/blackbox/code39-3/01.jpg
Normal file
After Width: | Height: | Size: 55 KiB |
1
core/test/data/blackbox/code39-3/01.txt
Normal file
|
@ -0,0 +1 @@
|
|||
165627
|
BIN
core/test/data/blackbox/code39-3/02.jpg
Normal file
After Width: | Height: | Size: 63 KiB |
1
core/test/data/blackbox/code39-3/02.txt
Normal file
|
@ -0,0 +1 @@
|
|||
165627
|
BIN
core/test/data/blackbox/code39-3/03.jpg
Normal file
After Width: | Height: | Size: 59 KiB |
1
core/test/data/blackbox/code39-3/03.txt
Normal file
|
@ -0,0 +1 @@
|
|||
001EC947D49B
|
BIN
core/test/data/blackbox/code39-3/04.jpg
Normal file
After Width: | Height: | Size: 59 KiB |
1
core/test/data/blackbox/code39-3/04.txt
Normal file
|
@ -0,0 +1 @@
|
|||
001EC947D49B
|
BIN
core/test/data/blackbox/code39-3/05.jpg
Normal file
After Width: | Height: | Size: 79 KiB |
1
core/test/data/blackbox/code39-3/05.txt
Normal file
|
@ -0,0 +1 @@
|
|||
001EC947D49B
|
BIN
core/test/data/blackbox/code39-3/06.jpg
Normal file
After Width: | Height: | Size: 74 KiB |
1
core/test/data/blackbox/code39-3/06.txt
Normal file
|
@ -0,0 +1 @@
|
|||
165340
|
BIN
core/test/data/blackbox/code39-3/07.jpg
Normal file
After Width: | Height: | Size: 73 KiB |
1
core/test/data/blackbox/code39-3/07.txt
Normal file
|
@ -0,0 +1 @@
|
|||
165340
|
BIN
core/test/data/blackbox/code39-3/08.jpg
Normal file
After Width: | Height: | Size: 75 KiB |
1
core/test/data/blackbox/code39-3/08.txt
Normal file
|
@ -0,0 +1 @@
|
|||
165340
|
BIN
core/test/data/blackbox/code39-3/09.jpg
Normal file
After Width: | Height: | Size: 85 KiB |
1
core/test/data/blackbox/code39-3/09.txt
Normal file
|
@ -0,0 +1 @@
|
|||
165340
|
BIN
core/test/data/blackbox/code39-3/10.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
1
core/test/data/blackbox/code39-3/10.txt
Normal file
|
@ -0,0 +1 @@
|
|||
001EC94767E0
|
BIN
core/test/data/blackbox/code39-3/11.jpg
Normal file
After Width: | Height: | Size: 83 KiB |
1
core/test/data/blackbox/code39-3/11.txt
Normal file
|
@ -0,0 +1 @@
|
|||
001EC94767E0
|
BIN
core/test/data/blackbox/code39-3/12.jpg
Normal file
After Width: | Height: | Size: 81 KiB |
1
core/test/data/blackbox/code39-3/12.txt
Normal file
|
@ -0,0 +1 @@
|
|||
001EC94767E0
|
BIN
core/test/data/blackbox/code39-3/13.jpg
Normal file
After Width: | Height: | Size: 89 KiB |
1
core/test/data/blackbox/code39-3/13.txt
Normal file
|
@ -0,0 +1 @@
|
|||
001EC94767E0
|
BIN
core/test/data/blackbox/code39-3/14.jpg
Normal file
After Width: | Height: | Size: 115 KiB |
1
core/test/data/blackbox/code39-3/14.txt
Normal file
|
@ -0,0 +1 @@
|
|||
404785
|
BIN
core/test/data/blackbox/code39-3/15.jpg
Normal file
After Width: | Height: | Size: 92 KiB |
1
core/test/data/blackbox/code39-3/15.txt
Normal file
|
@ -0,0 +1 @@
|
|||
404785
|
BIN
core/test/data/blackbox/code39-3/16.jpg
Normal file
After Width: | Height: | Size: 128 KiB |
1
core/test/data/blackbox/code39-3/16.txt
Normal file
|
@ -0,0 +1 @@
|
|||
404785
|
BIN
core/test/data/blackbox/code39-3/17.jpg
Normal file
After Width: | Height: | Size: 117 KiB |
1
core/test/data/blackbox/code39-3/17.txt
Normal file
|
@ -0,0 +1 @@
|
|||
404785
|
|
@ -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 Code39BlackBox3TestCase extends AbstractBlackBoxTestCase {
|
||||
|
||||
public Code39BlackBox3TestCase() {
|
||||
super(new File("test/data/blackbox/code39-3"), new MultiFormatReader(), BarcodeFormat.CODE_39);
|
||||
addTest(17, 0.0f);
|
||||
addTest(17, 180.0f);
|
||||
}
|
||||
|
||||
}
|