Skip to content

Add test for order and duplicates in stream classes' from_streams args - #15

Merged
j-bryan merged 2 commits into
mainfrom
from-streams-tests
Jul 23, 2026
Merged

Add test for order and duplicates in stream classes' from_streams args#15
j-bryan merged 2 commits into
mainfrom
from-streams-tests

Conversation

@caleb-sitton-inl

Copy link
Copy Markdown
Collaborator

This replaces the old test for CashFlowStream.from_streams with a new one that verifies that ordering and duplicates are preserved when the passed-in cashflows are added to the stream's entries. This test is mirrored for a similar coverage gap in GenerationStream.from_streams.

Closes #6.

@caleb-sitton-inl
caleb-sitton-inl requested a review from j-bryan July 22, 2026 23:41

@j-bryan j-bryan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

good test additions

@j-bryan
j-bryan merged commit 55f7b28 into main Jul 23, 2026
1 check passed
@caleb-sitton-inl
caleb-sitton-inl deleted the from-streams-tests branch July 23, 2026 15:37
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.

Strengthen from_streams test coverage for order and duplicates

2 participants