yampa-test 0.14.11 → 0.14.12
raw patch · 11 files changed
+20/−34 lines, 11 filesdep ~Yampadep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: Yampa, base
API changes (from Hackage documentation)
Files
- CHANGELOG +8/−0
- tests/Test/FRP/Yampa/Arrow.hs +1/−2
- tests/Test/FRP/Yampa/Basic.hs +0/−6
- tests/Test/FRP/Yampa/Conditional.hs +3/−4
- tests/Test/FRP/Yampa/Delays.hs +0/−1
- tests/Test/FRP/Yampa/Event.hs +5/−12
- tests/Test/FRP/Yampa/EventS.hs +0/−1
- tests/Test/FRP/Yampa/Hybrid.hs +0/−1
- tests/Test/FRP/Yampa/Switches.hs +0/−3
- tests/Test/FRP/Yampa/Task.hs +0/−1
- yampa-test.cabal +3/−3
CHANGELOG view
@@ -1,3 +1,11 @@+2024-12-07 Ivan Perez <ivan.perez@keera.co.uk>+ * Version bump (0.14.12) (#319).+ * Remove unused function Test.FRP.Yampa.Event.randomEventFunction (#314).+ * Remove unused variables in Test.FRP.Yampa.Basic (#315).+ * Remove redundant imports (#316).+ * Import functions to test from FRP.Yampa (#317).+ * Add version bounds to base (#320).+ 2024-10-07 Ivan Perez <ivan.perez@keera.co.uk> * Version bump (0.14.11) (#310). * Bump version bounds of dependencies (#309).
tests/Test/FRP/Yampa/Arrow.hs view
@@ -13,8 +13,7 @@ import Test.Tasty.QuickCheck (testProperty) -- External modules: Yampa-import FRP.Yampa as Yampa-import FRP.Yampa.Arrow as Yampa+import FRP.Yampa as Yampa tests :: TestTree tests = testGroup "Regression tests for FRP.Yampa.Arrow"
tests/Test/FRP/Yampa/Basic.hs view
@@ -221,9 +221,6 @@ myStream :: Gen (SignalSampleStream Float) myStream = uniDistStream - initialValueG :: Gen Float- initialValueG = arbitrary- -- ** @(>=-)@ -- | Test that @f -=> arr (^ 2)@, when applied to any signal, is initially@@ -252,9 +249,6 @@ where myStream :: Gen (SignalSampleStream Float) myStream = uniDistStream-- initialValueG :: Gen Float- initialValueG = arbitrary -- ** initially
tests/Test/FRP/Yampa/Conditional.hs view
@@ -19,10 +19,9 @@ import Test.Tasty.QuickCheck (testProperty) import FRP.Yampa as Yampa-import FRP.Yampa.Conditional (pause, provided)-import FRP.Yampa.LTLFuture (TPred (Always, SP), evalT)-import FRP.Yampa.QuickCheck (uniDistStream)-import FRP.Yampa.Stream (SignalSampleStream)+import FRP.Yampa.LTLFuture (TPred (Always, SP), evalT)+import FRP.Yampa.QuickCheck (uniDistStream)+import FRP.Yampa.Stream (SignalSampleStream) import TestsCommon
tests/Test/FRP/Yampa/Delays.hs view
@@ -18,7 +18,6 @@ import Test.Tasty.QuickCheck (testProperty) import FRP.Yampa as Yampa-import FRP.Yampa.Delays (fby) import FRP.Yampa.Stream import FRP.Yampa.QuickCheck import FRP.Yampa.LTLFuture
tests/Test/FRP/Yampa/Event.hs view
@@ -9,7 +9,7 @@ where import Control.Applicative ((<|>))-import Control.Monad (guard, join)+import Control.Monad (join) #if !MIN_VERSION_base(4,8,0) import Control.Applicative (pure, (<*>))@@ -20,11 +20,10 @@ import Test.Tasty (TestTree, testGroup) import Test.Tasty.QuickCheck (testProperty) -import FRP.Yampa (Event (..))-import FRP.Yampa.Event (attach, catEvents, event, filterE, fromEvent, gate,- isEvent, isNoEvent, joinE, lMerge, mapFilterE, mapMerge,- maybeToEvent, merge, mergeBy, mergeEvents, noEvent,- noEventFst, noEventSnd, rMerge, splitE, tag, tagWith)+import FRP.Yampa (Event (..), attach, catEvents, event, filterE, fromEvent,+ gate, isEvent, isNoEvent, joinE, lMerge, mapFilterE, mapMerge,+ maybeToEvent, merge, mergeBy, mergeEvents, noEvent,+ noEventFst, noEventSnd, rMerge, splitE, tag, tagWith) tests :: TestTree tests = testGroup "Regression tests for FRP.Yampa.Event"@@ -463,12 +462,6 @@ randomEvents :: Gen [Event Integer] randomEvents = arbitrary--randomEventFunction :: Gen (Event Integer -> Event Integer)-randomEventFunction = do- def <- arbitrary- f <- applyFun <$> arbitrary- return $ event def f randomEventFunctionIn :: Gen (Event (Integer -> Integer)) randomEventFunctionIn =
tests/Test/FRP/Yampa/EventS.hs view
@@ -27,7 +27,6 @@ import Test.Tasty.QuickCheck (testProperty) import FRP.Yampa as Yampa-import FRP.Yampa.EventS (snap, sampleWindow, recur, andThen, snapAfter, sample) import FRP.Yampa.Stream import FRP.Yampa.QuickCheck import FRP.Yampa.LTLFuture
tests/Test/FRP/Yampa/Hybrid.hs view
@@ -16,7 +16,6 @@ import Test.Tasty.QuickCheck (testProperty) import FRP.Yampa as Yampa-import FRP.Yampa.Hybrid as Yampa import FRP.Yampa.LTLFuture (evalT, TPred (Next, Always, SP)) import FRP.Yampa.QuickCheck (uniDistStream, uniDistStreamMaxDT)
tests/Test/FRP/Yampa/Switches.hs view
@@ -27,9 +27,6 @@ import Test.Tasty.QuickCheck (testProperty) import FRP.Yampa as Yampa-import FRP.Yampa.Switches (dpSwitchZ, drpSwitchZ, pSwitchZ, parC, parZ,- rpSwitchZ)-import FRP.Yampa.EventS (snap) import FRP.Yampa.Stream import FRP.Yampa.QuickCheck import FRP.Yampa.LTLFuture
tests/Test/FRP/Yampa/Task.hs view
@@ -18,7 +18,6 @@ import Test.Tasty.QuickCheck (testProperty) import FRP.Yampa as Yampa-import FRP.Yampa.Task import FRP.Yampa.LTLFuture (TPred (Always, SP), evalT) import FRP.Yampa.QuickCheck (uniDistStream)
yampa-test.cabal view
@@ -31,7 +31,7 @@ build-type: Simple name: yampa-test-version: 0.14.11+version: 0.14.12 author: Ivan Perez maintainer: ivan.perez@keera.co.uk homepage: http://github.com/ivanperez-keera/Yampa@@ -84,7 +84,7 @@ base >= 4 && < 5 , normaldistribution >= 1.1.0.1 && < 1.2 , QuickCheck >= 2.12 && < 2.16- , Yampa >= 0.14.11 && < 0.15+ , Yampa >= 0.14.12 && < 0.15 default-language: Haskell2010@@ -163,5 +163,5 @@ False else build-depends:- base+ base >= 4 && < 5 , Yampa