Skip Navigation

Tennis Game Kata in Rust

github.com /balp/rust_balp_tennis_kata/blob/master/src/lib.rs

As one more step in learning rust. I have done the Tennis Game Kata. There are a few tradeoff as some names being shorter than optimal, but by that preventing line breaks. That gives better overview.

Is there any rust constructions that would help making the code more readable?

Is there a cleaner solution to get the test parameterized?

Would there be a better fitting rust types for the functions? I started with the interface from Dani Pardo, in Emily Baches refactoring kata.

0
0 comments