Rust Code Snippets


Simple Unit Test

These are basic unit tests in Rust. They often populate the same file as the functions and modules they're built to test. You can run them by executing cargo test in the terminal.