add floating property

This commit is contained in:
Don Stewart
2007-10-06 10:06:54 +00:00
parent aaaeae54c3
commit d83ce46a1e

View File

@@ -542,6 +542,12 @@ prop_float_reversible n (x :: T) =
where
geom = RationalRect 100 100 100 100
-- check rectanges were set
prop_float_sets_geometry n (x :: T) =
n `member` x ==> let y = float n geom x in M.lookup y (floating x) == Just geom
where
geom = RationalRect 100 100 100 100
------------------------------------------------------------------------
prop_screens (x :: T) = n `elem` screens x