danidiaz / streaming-eversion

Translate pull-based stream folds to push-based iteratees
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Add drop-insert test #2

Closed danidiaz closed 7 years ago

danidiaz commented 7 years ago

Add a test for transvert in which the transformation drops a few items from the original stream, and then prefixes the stream with some new items.

Test it in three ways: with one stream that produces more elements than those dropped by the transformation, with one stream which produces less elements, and with one that produces the exact same number of elements.

danidiaz commented 7 years ago

Added in fb191fcc2e2c8a8c389925be1136153a763f32e6.