trpl-zh-cn/listings/ch11-writing-automated-tests/output-only-05-single-integration/tests/integration_test.rs
2022-02-06 16:43:51 +08:00

7 lines
79 B
Rust
Executable File

use adder;
#[test]
fn it_adds_two() {
assert_eq!(4, adder::add_two(2));
}