mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
rename bitmatrix test cases mod
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user