You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add comprehensive tests for LazyCollection diff methods
This commit adds thorough tests for three key diff methods in the LazyCollection class:
1. testDiffAssoc: Tests the diffAssoc method which returns items that exist in the
original collection but not in the given collection, comparing both keys and values.
2. testDiffKeys: Tests the diffKeys method which returns items from the original
collection whose keys don't exist in the given collection.
3. testDiffKeysUsing: Tests the diffKeysUsing method with a custom comparison callback
that groups keys by hundreds, demonstrating how to implement custom key comparison logic.
These tests ensure proper functionality of collection difference operations and verify
that each method returns a new LazyCollection instance.
0 commit comments