Simple starter for getting started with TDD in Rust.
The file src/calculator.rs contains one test case and a few in comments. Start by coming up with a few test cases and add them to the lists, then implement them one at a time, test-driving the solution forwards.
- rstest for parametrizing tests
Tests are run by Cargo. Execute:
$ cargo test
to run all the tests.