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

@@ -135,7 +135,7 @@ const CODE_WIDTH: usize = 3 + // start guard
*/
#[cfg(test)]
mod EAN13WriterTestCase {
use crate::{common::BitMatrixTestCase, BarcodeFormat, Writer};
use crate::{common::bit_matrix_test_case, BarcodeFormat, Writer};
use super::EAN13Writer;
@@ -151,7 +151,7 @@ mod EAN13WriterTestCase {
0,
)
.expect("exist");
assert_eq!(testStr, BitMatrixTestCase::matrix_to_string(&result));
assert_eq!(testStr, bit_matrix_test_case::matrix_to_string(&result));
}
#[test]
@@ -166,7 +166,7 @@ mod EAN13WriterTestCase {
0,
)
.expect("exist");
assert_eq!(testStr, BitMatrixTestCase::matrix_to_string(&result));
assert_eq!(testStr, bit_matrix_test_case::matrix_to_string(&result));
}
#[test]