@@ -427,20 +427,20 @@ checkTakeDropTime (mt0, mt1) = do
427427 return r
428428
429429#ifdef DEVBUILD
430−testTakeByTime :: IO Bool
431−testTakeByTime = do
430+testTakeInterval :: IO Bool
431+testTakeInterval = do
432432 r <-
433− S.fold ((,) <$> FL.head <*> FL.last)
434− $ IS.takeByTime takeDropTime
433+ S.fold (FL.tee FL.head FL.last)
434+ $ IS.takeInterval takeDropTime
435435 $ S.repeatM (threadDelay 1000 >> getTime Monotonic)
436436 checkTakeDropTime r
437437
438−testDropByTime :: IO Bool
439−testDropByTime = do
438+testDropInterval :: IO Bool
439+testDropInterval = do
440440 t0 <- getTime Monotonic
441441 mt1 <-
442442 S.head
443− $ IS.dropByTime takeDropTime
443+ $ IS.dropInterval takeDropTime
444444 $ S.repeatM (threadDelay 1000 >> getTime Monotonic)
445445 checkTakeDropTime (Just t0, mt1)
446446#endif
@@ -633,8 +633,8 @@ main = hspec
633633
634634#ifdef DEVBUILD
635635 describe "Filtering" $ do
636− it "takeByTime" (testTakeByTime `shouldReturn` True)
637− it "dropByTime" (testDropByTime `shouldReturn` True)
636+ it "takeInterval" (testTakeInterval `shouldReturn` True)
637+ it "dropInterval" (testDropInterval `shouldReturn` True)
638638#endif
639639
640640 describe "Stream group and split operations" $ do