"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/test/java/com/google/zxing/oned/rss/expanded/decoders/AnyAIDecoderTest.java" between
zxing-zxing-3.4.1.tar.gz and zxing-zxing-3.5.0.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Info: Project is in maintenance mode (no active development).

AnyAIDecoderTest.java  (zxing-zxing-3.4.1):AnyAIDecoderTest.java  (zxing-zxing-3.5.0)
skipping to change at line 56 skipping to change at line 56
@Test @Test
public void testAnyAIDecoder2() throws Exception { public void testAnyAIDecoder2() throws Exception {
CharSequence data = header + numeric10 + numeric12 + numeric2alpha + alphaA + alpha2isoiec646 + i646B; CharSequence data = header + numeric10 + numeric12 + numeric2alpha + alphaA + alpha2isoiec646 + i646B;
String expected = "(10)12AB"; String expected = "(10)12AB";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void testAnyAIDecoder3() throws Exception { public void testAnyAIDecoder3() throws Exception {
CharSequence data = header + numeric10 + numeric2alpha + alpha2isoiec646 + i CharSequence data = header + numeric10 + numeric2alpha + alpha2isoiec646 + i
646B + i646C + isoiec6462alpha + alphaA + alpha2numeric + numeric10; 646B + i646C + isoiec6462alpha +
alphaA + alpha2numeric + numeric10;
String expected = "(10)BCA10"; String expected = "(10)BCA10";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void testAnyAIDecodernumericFNC1secondDigit() throws Exception { public void testAnyAIDecodernumericFNC1secondDigit() throws Exception {
CharSequence data = header + numeric10 + numeric1FNC1; CharSequence data = header + numeric10 + numeric1FNC1;
String expected = "(10)1"; String expected = "(10)1";
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)