File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import Test.Tasty (TestTree, testGroup)
29
29
import Test.Tasty.QuickCheck (testProperty )
30
30
import Types
31
31
import qualified Data.Monoid as Monoid
32
+ import qualified Data.Semigroup as Semigroup
32
33
import qualified Data.Text as T
33
34
import qualified Data.Text.Lazy as LT
34
35
import qualified Data.Text.Short as ST
@@ -87,6 +88,10 @@ roundTripTests =
87
88
, testProperty " Nu" $ roundTripEq @ (F. Nu (These Char ))
88
89
, testProperty " Maybe" $ roundTripEq @ (Maybe Int )
89
90
, testProperty " Monoid.First" $ roundTripEq @ (Monoid. First Int )
91
+ , testProperty " Semigroup.Sum" $ roundTripEq @ (Semigroup. Sum Int )
92
+ , testProperty " Semigroup.Product" $ roundTripEq @ (Semigroup. Product Int )
93
+ , testProperty " Semigroup.All" $ roundTripEq @ Semigroup. All
94
+ , testProperty " Semigroup.Any" $ roundTripEq @ Semigroup. Any
90
95
, testProperty " Strict Pair" $ roundTripEq @ (S. Pair Int Char )
91
96
, testProperty " Strict Either" $ roundTripEq @ (S. Either Int Char )
92
97
, testProperty " Strict These" $ roundTripEq @ (S. These Int Char )
You can’t perform that action at this time.
0 commit comments