fix major issue with codabar

This commit is contained in:
Henry Schimke
2023-01-07 17:13:13 -06:00
parent 0fe220fd63
commit ae3e1cf3d5
4 changed files with 13 additions and 15 deletions

View File

@@ -172,8 +172,7 @@ mod CodaBarWriterTestCase {
fn testEncode() {
doTest(
"B515-3/B",
&format!(
"{}{}{}{}{}{}{}{}{}{}",
concat!(
"00000",
"1001001011",
"0110101001",
@@ -192,16 +191,13 @@ mod CodaBarWriterTestCase {
fn testEncode2() {
doTest(
"T123T",
&format!(
"{}{}{}{}{}{}{}",
"00000",
"1011001001",
"0101011001",
"0101001011",
"0110010101",
"01011001001",
"00000"
),
concat!("00000",
"1011001001",
"0101011001",
"0101001011",
"0110010101",
"01011001001",
"00000"),
);
}