This website works better with JavaScript.
Explore
Help
Register
Sign In
rust
/
trpl-zh-cn
mirror of
https://github.com/KaiserY/trpl-zh-cn
Watch
5
Star
0
Fork
You've already forked trpl-zh-cn
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a64cadd69f
trpl-zh-cn
/
listings
/
ch11-writing-automated-tests
/
output-only-05-single-integ...
/
tests
/
integration_test.rs
7 lines
79 B
Raw
Blame
History
use
adder
;
#[
test
]
fn
it_adds_two
(
)
{
assert_eq!
(
4
,
adder
::
add_two
(
2
)
)
;
}
Reference in new issue
View Git Blame
Copy Permalink