151
151
instance (PartialOrd a, Arbitrary a) => Arbitrary (Favorites a) where
152
152
arbitrary = fromList <$> arbitrary
154
155
property_null_empty = null empty
156
158
property_not_null_singleton = not . null . singleton
158
160
-- Remember: less is better!
160
163
prop_compareWithFavorites a@ISet{} as =
161
164
case compareWithFavorites a as of
162
165
Dominates dominated notDominated ->