forked from StudioInfinity/dyna3
Turn assertionless tests into Cargo examples
This commit is contained in:
parent
e917272c60
commit
519d0f49df
5 changed files with 88 additions and 97 deletions
|
@ -1,8 +1,8 @@
|
|||
# based on "Enabling print statements in Cargo tests", by Jon Almeida
|
||||
# run all Cargo examples, as described here:
|
||||
#
|
||||
# https://jonalmeida.com/posts/2015/01/23/print-cargo/
|
||||
# Karol Kuczmarski. "Add examples to your Rust libraries"
|
||||
# http://xion.io/post/code/rust-examples.html
|
||||
#
|
||||
|
||||
cargo test -- --nocapture engine::tests::irisawa_hexlet_test
|
||||
cargo test -- --nocapture engine::tests::three_spheres_example
|
||||
cargo test -- --nocapture engine::tests::point_on_sphere_example
|
||||
cargo run --example three-spheres
|
||||
cargo run --example point-on-sphere
|
Loading…
Add table
Add a link
Reference in a new issue