diff options
| author | Micha White <botahamec@outlook.com> | 2024-08-15 20:16:32 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2024-08-15 20:16:32 -0400 |
| commit | db9aa9f1bf49e8bede384b9ceb1e1fb82b522799 (patch) | |
| tree | 0d60727acf481f59b42ef0f74ed07c16ec562bcf /tvg/tests/parse.rs | |
| parent | f8a80039c74332e2101a177ef3fde31ef2077224 (diff) | |
Delete stuff
Diffstat (limited to 'tvg/tests/parse.rs')
| -rw-r--r-- | tvg/tests/parse.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tvg/tests/parse.rs b/tvg/tests/parse.rs deleted file mode 100644 index 017ea2c..0000000 --- a/tvg/tests/parse.rs +++ /dev/null @@ -1,19 +0,0 @@ -use std::fs::File; - -use alligator_tvg::{colors::Rgba16, TvgFile}; - -#[test] -fn main() { - for entry in std::fs::read_dir("tests/examples/tvg").unwrap() { - let entry = entry.unwrap().file_name(); - let entry = entry.to_string_lossy(); - let mut file = File::open(format!("./tests/examples/tvg/{}", &entry)).unwrap(); - let start = std::time::Instant::now(); - let _: TvgFile<Rgba16> = TvgFile::read_from(&mut file).unwrap(); - println!( - "{:?} successfully pased in {} seconds!", - entry, - start.elapsed().as_secs_f32() - ); - } -} |
