mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 21:11:31 +08:00
12 lines
393 B
Plaintext
Executable File
12 lines
393 B
Plaintext
Executable File
$ cargo test add
|
|
Compiling adder v0.1.0 (file:///projects/adder)
|
|
Finished test [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
|
|
|