Set up any needed data or state. Run the code you want to test. Assert the results are what you expect. Now let us look more about tests in Rust.
確定! 回上一頁