mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 20:51:55 -07:00
test geometry setting
This commit is contained in:
@@ -547,6 +547,12 @@ prop_float_reversible n (x :: T) =
|
|||||||
where
|
where
|
||||||
geom = RationalRect 100 100 100 100
|
geom = RationalRect 100 100 100 100
|
||||||
|
|
||||||
|
prop_float_geometry n (x :: T) =
|
||||||
|
n `member` x ==> let s = float n geom x
|
||||||
|
in M.lookup n (floating s) == Just geom
|
||||||
|
where
|
||||||
|
geom = RationalRect 100 100 100 100
|
||||||
|
|
||||||
-- check rectanges were set
|
-- check rectanges were set
|
||||||
{-
|
{-
|
||||||
prop_float_sets_geometry n (x :: T) =
|
prop_float_sets_geometry n (x :: T) =
|
||||||
@@ -756,6 +762,7 @@ main = do
|
|||||||
,("shiftWin fix current" , mytest prop_shift_win_fix_current)
|
,("shiftWin fix current" , mytest prop_shift_win_fix_current)
|
||||||
|
|
||||||
,("floating is reversible" , mytest prop_float_reversible)
|
,("floating is reversible" , mytest prop_float_reversible)
|
||||||
|
,("floating sets geometry" , mytest prop_float_geometry)
|
||||||
,("screens includes current", mytest prop_screens)
|
,("screens includes current", mytest prop_screens)
|
||||||
,("differentiate works", mytest prop_differentiate)
|
,("differentiate works", mytest prop_differentiate)
|
||||||
,("lookupTagOnScreen", mytest prop_lookup_current)
|
,("lookupTagOnScreen", mytest prop_lookup_current)
|
||||||
|
Reference in New Issue
Block a user