Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
doc
/
book
/
listings
/
ch11-writing-automated-tests
/
listing-11-01
/
src
/
lib.rs
blob: 8e678421e9457e36c8b71779699198ba692b1ce7 [
file
] [
log
] [
blame
]
// ANCHOR: here
#[
cfg
(
test
)]
mod
tests
{
#[
test
]
fn
it_works
()
{
assert_eq
!(
2
+
2
,
4
);
}
}
// ANCHOR_END: here
fn
main
()
{}