mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-23 12:52:20 +08:00
8 lines
106 B
Rust
8 lines
106 B
Rust
use adder::add_two;
|
|
|
|
#[test]
|
|
fn it_adds_two() {
|
|
let result = add_two(2);
|
|
assert_eq!(result, 4);
|
|
}
|