mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
cargo fmt
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
|
||||
use super::BitSource;
|
||||
|
||||
#[test]
|
||||
fn test_source() {
|
||||
let bytes:Vec<u8> = vec![ 1, 2, 3, 4, 5];
|
||||
let mut source = BitSource::new(bytes);
|
||||
#[test]
|
||||
fn test_source() {
|
||||
let bytes: Vec<u8> = vec![1, 2, 3, 4, 5];
|
||||
let mut source = BitSource::new(bytes);
|
||||
assert_eq!(40, source.available());
|
||||
assert_eq!(0, source.readBits(1).unwrap());
|
||||
assert_eq!(39, source.available());
|
||||
@@ -45,6 +45,6 @@ use super::BitSource;
|
||||
assert_eq!(6, source.available());
|
||||
assert_eq!(5, source.readBits(6).unwrap());
|
||||
assert_eq!(0, source.available());
|
||||
}
|
||||
}
|
||||
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user