 1);
}
}</span><pre class='rust rust-example-rendered'>
<span class='attribute'>#[<span class='ident'>test</span>]</span>
<span class='kw'>fn</span> <span class='ident'>check</span>() {
    <span class='macro'>assert_eq</span><span class='macro'>!</span>(<span class='number'>2</span>, <span class='number'>1</span> <span class='op'>+</span> <span class='number'>1</span>);
}</pre>

<!-- It is marked with `#[test]`. This means it’s special: when you run -->

<!-- [tests][tests], this function will execute. W