mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
Further test cases
This commit is contained in:
@@ -26,10 +26,10 @@ pub mod TelepenCommon {
|
||||
let temp = contents.chars().nth(i).unwrap() as u32;
|
||||
|
||||
if temp >= 27 {
|
||||
number.push_str(&(temp - 27).to_string());
|
||||
number.push_str(&format!("{:0>2}", (temp - 27)));
|
||||
}
|
||||
else {
|
||||
number.push_str(&(temp - 17).to_string());
|
||||
number.push_str(&format!("{:0>2}", (temp - 17)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user