2022-02-06 16:43:51 +08:00
|
|
|
$ cargo test
|
|
|
|
Compiling rectangle v0.1.0 (file:///projects/rectangle)
|
2024-06-06 21:23:21 +08:00
|
|
|
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s
|
2023-01-16 17:34:52 +08:00
|
|
|
Running unittests src/lib.rs (target/debug/deps/rectangle-6584c4561e48942e)
|
2022-02-06 16:43:51 +08:00
|
|
|
|
|
|
|
running 2 tests
|
|
|
|
test tests::larger_can_hold_smaller ... ok
|
|
|
|
test tests::smaller_cannot_hold_larger ... ok
|
|
|
|
|
|
|
|
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
|
|
|
|
Doc-tests rectangle
|
|
|
|
|
|
|
|
running 0 tests
|
|
|
|
|
|
|
|
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
|