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

@@ -71,7 +71,7 @@ impl Writer for UPCAWriter {
*/
#[cfg(test)]
mod UPCAWriterTestCase {
use crate::{common::BitMatrixTestCase, BarcodeFormat, Writer};
use crate::{common::bit_matrix_test_case, BarcodeFormat, Writer};
use super::UPCAWriter;
@@ -87,7 +87,7 @@ mod UPCAWriterTestCase {
0,
)
.expect("ok");
assert_eq!(testStr, BitMatrixTestCase::matrix_to_string(&result));
assert_eq!(testStr, bit_matrix_test_case::matrix_to_string(&result));
}
#[test]
@@ -102,6 +102,6 @@ mod UPCAWriterTestCase {
0,
)
.expect("ok");
assert_eq!(testStr, BitMatrixTestCase::matrix_to_string(&result));
assert_eq!(testStr, bit_matrix_test_case::matrix_to_string(&result));
}
}