-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/102 #107
Feature/102 #107
Conversation
Codecov Report
@@ Coverage Diff @@
## master #107 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 34 34
===========================================
Files 8 8
Lines 72 72
===========================================
Hits 72 72
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything is fine.
/** | ||
* @todo #95:15min Reset behaviour for array is not covered. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed marker.
public function testGivesSameResultsOverDifferentIterations(): void | ||
{ | ||
$iterator = new ArrayAddingIterator([4, 3, 85, 48, 19, 53]); | ||
$this->assertEquals( | ||
iterator_to_array($iterator), | ||
iterator_to_array($iterator) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided not to test this with TimesCalled
to make it simpler.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This PR solves #102 . Reset behaviour is now tested.