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
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
main
gh-pages
main
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'main'
${ noResults }
trpl-zh-cn
/
listings
/
ch11-writing-automated-tests
/
listing-11-13
/
tests
/
integration_test.rs
8 lines
106 B
Raw
Permalink
Normal View
History
Unescape
Escape
update listings to catch up newest outputs and features of newest rust
5 months ago
use
adder
::
add_two
;
add listings code && update to ch02-00
3 years ago
#[
test
]
fn
it_adds_two
(
)
{
major update prepared for ch17
4 weeks ago
let
result
=
add_two
(
2
)
;
assert_eq!
(
result
,
4
)
;
add listings code && update to ch02-00
3 years ago
}