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

Add ExcludeCollectionIterator (#505) #608

Conversation

Head0nF1re
Copy link
Contributor

@Head0nF1re Head0nF1re commented Jan 22, 2024

  • Add ExcludeCollectionIterator for ICollection types in Exclude
    operator.

  • Rename ExcludeIterator to ExcludeListIterator for name consistency.

  • Tests for ExcludeCollectionIterator:

    • Replace GetListSequences with GetAllSequences.
    • Add ExcludeCollectionBehavior.

Fixes #505

- Add ExcludeCollectionIterator for ICollection types in Exclude
  operator.
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (31b61a2) 93.29% compared to head (3e29c12) 93.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #608      +/-   ##
==========================================
+ Coverage   93.29%   93.31%   +0.02%     
==========================================
  Files         242      242              
  Lines        7755     7767      +12     
  Branches     1595     1596       +1     
==========================================
+ Hits         7235     7248      +13     
+ Misses        329      328       -1     
  Partials      191      191              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

- Replace GetListSequences with GetAllSequences.

- Add ExcludeCollectionBehavior.
Copy link
Owner

@viceroypenguin viceroypenguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! couple minor changes

Source/SuperLinq/Exclude.cs Outdated Show resolved Hide resolved
Source/SuperLinq/Exclude.cs Outdated Show resolved Hide resolved
@viceroypenguin viceroypenguin merged commit bcecba2 into viceroypenguin:master Jan 23, 2024
4 checks passed
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.

Add ExcludeCollectionIterator
2 participants