mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Issue 1712 fix test case too
git-svn-id: https://zxing.googlecode.com/svn/trunk@2821 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
732d34cc5a
commit
ea1c78af59
|
@ -34,7 +34,7 @@ public final class CodaBarWriterTestCase extends Assert {
|
|||
String resultStr = "0000000000" +
|
||||
"1001001011011010100101010110010110101001010100110101100101010110110101101001001011"
|
||||
+ "0000000000";
|
||||
BitMatrix result = new CodaBarWriter().encode("B515-3/N", BarcodeFormat.CODABAR, resultStr.length(), 0);
|
||||
BitMatrix result = new CodaBarWriter().encode("B515-3/B", BarcodeFormat.CODABAR, resultStr.length(), 0);
|
||||
for (int i = 0; i < resultStr.length(); i++) {
|
||||
assertEquals("Element " + i, resultStr.charAt(i) == '1', result.get(i, 0));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue