mirror of
https://github.com/gnu4cn/rust-lang-zh_CN.git
synced 2025-02-25 02:30:35 +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));
|
||
|
}
|