Commit Graph

476 Commits

Author SHA1 Message Date
Ahmed Zaheer Dadarkar
c1077de099 add test for many, comment failing test for some 2020-06-11 09:14:27 +05:30
Ahmed Zaheer Dadarkar
9751698ff7 Add tests for shortest and longest.
- Remove deintercalate test since it is unimplemented.
2020-06-11 09:13:49 +05:30
Ahmed Zaheer Dadarkar
b2cbde7ecf Add tests for ParserD. 2020-06-11 09:10:58 +05:30
Ahmed Zaheer Dadarkar
646cb86f0d update use of <> with ++ 2020-06-10 08:20:52 +05:30
Ahmed Zaheer Dadarkar
dda3fb8b91 comment lookAhead failing cases for now 2020-06-10 08:20:52 +05:30
Ahmed Zaheer Dadarkar
f67df51e6b update chooseInt with choose restricted to Int 2020-06-10 08:18:59 +05:30
Ahmed Zaheer Dadarkar
103e5863c8 update description of tests 2020-06-10 08:18:59 +05:30
Ahmed Zaheer Dadarkar
14f4dcdbe9 update to use different equality checker for lists 2020-06-10 08:18:59 +05:30
Ahmed Zaheer Dadarkar
f819fdd313 add lookAheadFail function to test failure case of lookAhead 2020-06-10 08:18:59 +05:30
Ahmed Zaheer Dadarkar
3fa6710e3d add description for test functions 2020-06-10 08:18:59 +05:30
Ahmed Zaheer Dadarkar
f2a1219c6f split functions into pass case and either (pass or fail) case 2020-06-10 08:18:59 +05:30
Ahmed Zaheer Dadarkar
75f1f8e098 add top level variables and split test functions with multiple properties 2020-06-10 08:18:59 +05:30
Ahmed Zaheer Dadarkar
2f8d9b0a31 Add tests for Internal.Data.Parser.
- Tests are added for the functions: yield, yieldM, die, dieM, any,
all, fromFold, peek, eof, satisfy, take, takeEQ, takeGE, takeWhile,
takeWhile1, lookAhead, sliceSepBy.
2020-06-10 08:17:15 +05:30
adithyaov
9fd164b012 Modify boundary condition tests for lastN 2020-02-26 13:41:45 +05:30
adithyaov
59509cd378 Fix lastN for n <= 0 2020-02-26 13:41:45 +05:30
adithyaov
9bab836f6c Change module structure for PrimArray
Data.PrimArray -> Data.Prim.Array
2020-01-25 15:39:59 +05:30
adithyaov
4008a26ee2 Add a test-suite for PrimArray 2020-01-25 15:39:56 +05:30
Pranay Sashank
00f541e6d5 Hide Streamly.Data.Array and Streamly.Data.SmallArray.
- Closes #378
2020-01-21 13:24:22 +05:30
Harendra Kumar
290d2f6135 Make some updates to takeByTime/dropByTime
* Document the precise behavior, some changes were made to the earlier behavior
* Make some changes to implementation according to (newly) documented behavior
* TakeByTime: perform the time check before generating the element so that we
  do not drop an element after generation.
* TakeByTime now yields at least one element if the duration is non-zero
* dropByTime does not check the time after the drop duration is over
* Add inspection tests
* make the tests for shorter duration, earlier tests took too long
2020-01-16 02:02:37 +05:30
adithyaov
1979370373 Add takeByTime and dropByTime combinators 2020-01-16 02:02:37 +05:30
adithyaov
5aa8e44d24 Add tests to lastN 2020-01-02 16:51:43 +05:30
adithyaov
d6afd92d98 Add rollingHashFirstN, drainN and drainWhile 2019-12-30 15:57:34 +05:30
Pranay Sashank
333dc6630f Merge Memory, Data, SmallArray tests into one module. 2019-12-12 14:03:43 +05:30
Pranay Sashank
ee32239753 Add tests for Streamly.Data.SmallArray. 2019-12-12 14:03:43 +05:30
Pranay Sashank
ae2dce8db1 Add write and fromStream Data.Array apis and corresponding tests.
- Remove length field from Data.Array.
2019-12-04 13:41:55 +05:30
Pranay Sashank
175b0b6d10 Add tests for Streamly.Data.Array and read operator. 2019-12-04 13:41:55 +05:30