mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 04:41:49 +08:00
12 lines
403 B
Plaintext
12 lines
403 B
Plaintext
$ cargo test add
|
|
Compiling adder v0.1.0 (file:///projects/adder)
|
|
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
|
|
Running unittests src/lib.rs (target/debug/deps/adder-92948b65e88960b4)
|
|
|
|
running 2 tests
|
|
test tests::add_three_and_two ... ok
|
|
test tests::add_two_and_two ... ok
|
|
|
|
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s
|
|
|