mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
codabar_writer + test
This commit is contained in:
@@ -339,7 +339,7 @@ fn test_xor_case() {
|
||||
// }
|
||||
}
|
||||
|
||||
fn matrix_to_string(result: &BitMatrix) -> String {
|
||||
pub fn matrix_to_string(result: &BitMatrix) -> String {
|
||||
assert_eq!(1, result.getHeight());
|
||||
let mut builder = String::with_capacity(result.getWidth().try_into().unwrap());
|
||||
for i in 0..result.getWidth() {
|
||||
|
||||
@@ -10,7 +10,7 @@ mod StringUtilsTestCase;
|
||||
mod BitArrayTestCase;
|
||||
|
||||
#[cfg(test)]
|
||||
mod BitMatrixTestCase;
|
||||
pub(crate) mod BitMatrixTestCase;
|
||||
|
||||
#[cfg(test)]
|
||||
mod BitSourceTestCase;
|
||||
|
||||
Reference in New Issue
Block a user