utf-8: better formatted qr code in test

This commit is contained in:
Vladimir Serov 2020-02-11 10:55:29 +03:00
parent b9d27ef174
commit 849c6c8bea

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\
");
}