Glossary: Software Design Patterns in Rust
#[test]
Also written: test runner, unit test
An attribute marking a function that the test runner calls for you. A test passes if it doesn't panic.
Glossary: Software Design Patterns in Rust
Also written: test runner, unit test
An attribute marking a function that the test runner calls for you. A test passes if it doesn't panic.