mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-23 15:40:27 +08:00
17 lines
496 B
Plaintext
17 lines
496 B
Plaintext
$ cargo test
|
|
Compiling rectangle v0.1.0 (file:///projects/rectangle)
|
|
Finished test [unoptimized + debuginfo] target(s) in 0.66s
|
|
Running unittests (target/debug/deps/rectangle-6584c4561e48942e)
|
|
|
|
running 1 test
|
|
test tests::larger_can_hold_smaller ... ok
|
|
|
|
test result: ok. 1 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
|
|
|