Add StackSet.allWindows

This commit is contained in:
Spencer Janssen
2007-10-01 16:39:59 +00:00
parent d05b01431d
commit acbe7976d7
2 changed files with 9 additions and 2 deletions

View File

@@ -363,6 +363,8 @@ prop_findIndex (x :: T) =
, i <- focus t : up t ++ down t
]
prop_allWindowsMember w (x :: T) = (w `elem` allWindows x) ==> member w x
-- ---------------------------------------------------------------------
-- 'insert'
@@ -687,6 +689,7 @@ main = do
,("focusWindow works" , mytest prop_focusWindow_works)
,("findIndex" , mytest prop_findIndex)
,("allWindows/member" , mytest prop_allWindowsMember)
,("insert: invariant" , mytest prop_insertUp_I)
,("insert/new" , mytest prop_insert_empty)