mirror of
https://github.com/gnu4cn/rust-lang-zh_CN.git
synced 2025-01-13 13:50:37 +08:00
10 lines
114 B
Rust
10 lines
114 B
Rust
use adder;
|
|
|
|
mod common;
|
|
|
|
#[test]
|
|
fn it_adds_two() {
|
|
common::setup();
|
|
assert_eq! (6, adder::add_two(4));
|
|
}
|