Skip to content

Commit

Permalink
docs: tests
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
  • Loading branch information
explodingcamera committed Jan 28, 2024
1 parent 51d0c63 commit 716b763
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 2 deletions.
8 changes: 7 additions & 1 deletion crates/tinywasm/tests/generate-charts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ fn generate_charts() -> Result<()> {
return Ok(());
}

// Create a line chart
charts::create_progress_chart(
std::path::Path::new("./tests/generated/mvp.csv"),
std::path::Path::new("./tests/generated/progress-mvp.svg"),
)?;

println!("created progress chart: ./tests/generated/progress-mvp.svg");

charts::create_progress_chart(
std::path::Path::new("./tests/generated/2.0.csv"),
std::path::Path::new("./tests/generated/progress-2.0.svg"),
)?;

println!("created progress chart: ./tests/generated/progress-2.0.svg");

Ok(())
}
7 changes: 7 additions & 0 deletions crates/tinywasm/tests/generated/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# WebAssembly 1.0 Test Results (out of 20254 tests)

![](./progress-mvp.svg)

# WebAssembly 2.0 Test Results (out of 27883 tests)

![](./progress-2.0.svg)
54 changes: 54 additions & 0 deletions crates/tinywasm/tests/generated/progress-2.0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion crates/tinywasm/tests/generated/progress-mvp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 716b763

Please sign in to comment.