Code39WriterTestCase.java (zxing-zxing-3.4.1) | : | Code39WriterTestCase.java (zxing-zxing-3.5.0) | ||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
import com.google.zxing.common.BitMatrix; | import com.google.zxing.common.BitMatrix; | |||
import com.google.zxing.common.BitMatrixTestCase; | import com.google.zxing.common.BitMatrixTestCase; | |||
import org.junit.Assert; | import org.junit.Assert; | |||
import org.junit.Test; | import org.junit.Test; | |||
/** | /** | |||
* Tests {@link Code39Writer}. | * Tests {@link Code39Writer}. | |||
*/ | */ | |||
public final class Code39WriterTestCase extends Assert { | public final class Code39WriterTestCase extends Assert { | |||
@SuppressWarnings("checkstyle:lineLength") | ||||
@Test | @Test | |||
public void testEncode() { | public void testEncode() { | |||
doTest("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", | doTest("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", | |||
"00000100101101101011010100101101011010010110110110100101010101100101 1011010110010101" + | "00000100101101101011010100101101011010010110110110100101010101100101 1011010110010101" + | |||
"01101100101010101001101101101010011010101101001101010101100110101101 0101001101011010" + | "01101100101010101001101101101010011010101101001101010101100110101101 0101001101011010" + | |||
"10011011011010100101010110100110110101101001010110110100101010101100 1101101010110010" + | "10011011011010100101010110100110110101101001010110110100101010101100 1101101010110010" + | |||
"10110101100101010110110010110010101011010011010101101100110101010100 1011010110110010" + | "10110101100101010110110010110010101011010011010101101100110101010100 1011010110110010" + | |||
"11010101001101101010101001101101011010010101101011001010110110110010 1010101001101011" + | "11010101001101101010101001101101011010010101101011001010110110110010 1010101001101011" + | |||
"01101001101010101100110101010100101101101101001011010101100101101010 010110110100000"); | "01101001101010101100110101010100101101101101001011010101100101101010 010110110100000"); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |