mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-28 05:12:34 +00:00
add real unicode, but it probably won't test correctly
This commit is contained in:
@@ -16,7 +16,7 @@ fn test_uri() {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_unicode() {
|
fn test_unicode() {
|
||||||
test_encode_decode("\u{3484}\u{f8a7}\u{a1e7}");
|
test_encode_decode("💸🎲🪜");
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_encode_decode(value: &str) {
|
fn test_encode_decode(value: &str) {
|
||||||
@@ -59,4 +59,4 @@ fn make_larger(input: &BitMatrix, factor: u32) -> BitMatrix {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user