mirror of https://github.com/KaiserY/trpl-zh-cn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
541 B
19 lines
541 B
3 years ago
|
$ cargo test
|
||
|
Compiling adder v0.1.0 (file:///projects/adder)
|
||
|
Finished test [unoptimized + debuginfo] target(s) in 0.62s
|
||
|
Running unittests (target/debug/deps/adder-92948b65e88960b4)
|
||
|
|
||
|
running 3 tests
|
||
|
test tests::add_three_and_two ... ok
|
||
|
test tests::add_two_and_two ... ok
|
||
|
test tests::one_hundred ... ok
|
||
|
|
||
|
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
||
|
|
||
|
Doc-tests adder
|
||
|
|
||
|
running 0 tests
|
||
|
|
||
|
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
||
|
|