utf-8: better formatted qr code in test

pull/42/head
Vladimir Serov 2020-02-11 10:55:29 +03:00
parent 372c4e6c3e
commit 9c1476e06c
No known key found for this signature in database
GPG Key ID: 6BA7C26C3FDF7BB3
1 changed files with 10 additions and 1 deletions

View File

@ -104,6 +104,15 @@ fn integration_render_utf8_1x2() {
.light_color(Dense1x2::Dark)
.module_dimensions(1, 1)
.build();
assert_eq!("█████████████████\n██ ▄▄▄▄▄ █▄▀▄█▄██\n██ █ █ █ █ ██\n██ █▄▄▄█ █▄▄██▀██\n██▄▄▄▄▄▄▄█▄▄▄▀ ██\n██▄ ▀ ▀ ▀▄▄ ████\n██▄▄▀▄█ ▀▀▀ ▀▄▄██\n██▄▄▄█▄▄█▄██▄█▄██\n▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀", image);
assert_eq!(image,
"█████████████████\n\
\n\
\n\
\n\
\n\
\n\
\n\
\n\
");
}