Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added some extra tests to validate iterators5 solution #1478

Merged
merged 2 commits into from
May 17, 2023

Conversation

Ben2917
Copy link
Contributor

@Ben2917 Ben2917 commented Apr 15, 2023

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!

@shadows-withal shadows-withal merged commit 656140d into rust-lang:main May 17, 2023
2 checks passed
@shadows-withal
Copy link
Member

@all-contributors please add @Ben2917 for content

@allcontributors
Copy link
Contributor

@shadows-withal

I've put up a pull request to add @Ben2917! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants