mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
rename bitmatrix test cases mod
This commit is contained in:
@@ -212,7 +212,7 @@ impl Code93Writer {
|
||||
*/
|
||||
#[cfg(test)]
|
||||
mod Code93WriterTestCase {
|
||||
use crate::{common::BitMatrixTestCase, oned::Code93Writer, BarcodeFormat, Writer};
|
||||
use crate::{common::bit_matrix_test_case, oned::Code93Writer, BarcodeFormat, Writer};
|
||||
|
||||
#[test]
|
||||
fn testEncode() {
|
||||
@@ -247,7 +247,7 @@ mod Code93WriterTestCase {
|
||||
let result = Code93Writer::default()
|
||||
.encode(input, &BarcodeFormat::CODE_93, 0, 0)
|
||||
.expect("encode");
|
||||
assert_eq!(expected, BitMatrixTestCase::matrix_to_string(&result));
|
||||
assert_eq!(expected, bit_matrix_test_case::matrix_to_string(&result));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user