trpl-zh-cn/listings/ch11-writing-automated-tests/no-listing-13-fix-shared-test-code-problem/tests/integration_test.rs
2022-02-06 16:43:51 +08:00

10 lines
113 B
Rust
Executable File

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