rustlings icon indicating copy to clipboard operation
rustlings copied to clipboard

fix: Added some extra tests to validate iterators5 solution

Open Ben2917 opened this issue 1 year ago • 0 comments

Firstly, I want to say that I've been really impressed with rustlings. This is my first foray into Rust programming and I've really enjoyed running through the exercises over the last few days so I wanted to contribute something in return.

Based on this issue, I've added some more detailed tests to the iterators5 exercise as I think the author has raised a valid point.

I've added new tests to validate that the output is correct for all progress types and I've also updated the tests that compare against the equivalent functions (that use for loops) to ensure that the output is the same for each type.

Please let me know if there are any edits you would like me to make. Thanks!

Ben2917 avatar Apr 15 '23 16:04 Ben2917