rename bitmatrix test cases mod

This commit is contained in:
Henry Schimke
2023-01-11 16:02:26 -06:00
parent f037a743e7
commit fde23934f6
13 changed files with 51 additions and 32 deletions

View File

@@ -162,7 +162,7 @@ impl OneDimensionalCodeWriter for CodaBarWriter {
#[cfg(test)]
mod CodaBarWriterTestCase {
use crate::{
common::{BitMatrix, BitMatrixTestCase},
common::{bit_matrix_test_case, BitMatrix},
BarcodeFormat, Writer,
};
@@ -210,7 +210,7 @@ mod CodaBarWriterTestCase {
fn doTest(input: &str, expected: &str) {
let result = encode(input);
assert_eq!(expected, BitMatrixTestCase::matrix_to_string(&result));
assert_eq!(expected, bit_matrix_test_case::matrix_to_string(&result));
}
fn encode(input: &str) -> BitMatrix {