hakyll/tests/Hakyll/Core/Util/Arrow/Tests.hs

15 lines
292 B
Haskell
Raw Normal View History

2011-12-10 15:13:22 +00:00
module Hakyll.Core.Util.Arrow.Tests
( tests
) where
import Test.Framework (Test)
import Test.HUnit ((@=?))
import Hakyll.Core.Util.Arrow
import TestSuite.Util
tests :: [Test]
tests = fromAssertions "sequenceA"
[ [8, 20, 1] @=? sequenceA [(+ 4), (* 5), signum] (4 :: Int)
]