Setup some manual tests.

This commit is contained in:
Samuel Guerra 2021-10-21 12:25:10 -03:00
parent 269e8bf083
commit f6a1331211
2 changed files with 4 additions and 1 deletions

4
.gitignore vendored
View File

@ -7,4 +7,6 @@ dump.*
dump*.*
screenshot.*
wip
cargo-timing*
cargo-timing*
large-image.*
examples/_test.rs

View File

@ -66,6 +66,7 @@ fn large_image() -> impl Widget {
image_loading_view = ViewGenerator::new(image_loading);
background_color = colors::BLACK;
content = image! {
//source = "large-image.jpg";
source = "https://upload.wikimedia.org/wikipedia/commons/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg";
loading_view = ViewGenerator::new(image_loading);
limits = Some(ImageLimits { max_encoded_size: 1.gigabytes(), max_decoded_size: 2.gigabytes() });