mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
switch grey convert method
This commit is contained in:
@@ -16,7 +16,7 @@ fn test_uri() {
|
||||
|
||||
#[test]
|
||||
fn test_unicode() {
|
||||
test_encode_decode("💸🎲🪜");
|
||||
test_encode_decode("\u{11D4}\u{1185}\u{11c2}");
|
||||
}
|
||||
|
||||
fn test_encode_decode(value: &str) {
|
||||
|
||||
@@ -288,7 +288,7 @@ impl AlignmentPatternFinder {
|
||||
) -> Option<AlignmentPattern> {
|
||||
let stateCountTotal = stateCount[0] + stateCount[1] + stateCount[2];
|
||||
let centerJ = Self::centerFromEnd(stateCount, j);
|
||||
let centerI = self.crossCheckVertical(
|
||||
let centerI = self.crossCheckVertical(
|
||||
i,
|
||||
centerJ.floor() as u32,
|
||||
2 * stateCount[1],
|
||||
|
||||
Reference in New Issue
Block a user