aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason Creighton <jcreigh@gmail.com>2007-05-04 03:46:53 +0200
committerJason Creighton <jcreigh@gmail.com>2007-05-04 03:46:53 +0200
commit0fc3a5bab0ebedefadec6a4cc80b7d257e6b6424 (patch)
tree7cfb6cc4bbcc2f541755850613c8ef28027c894a /tests
parent61b3777b94a2f2a10bbb1cd614a372548579e0ce (diff)
downloadxmonad-0fc3a5bab0ebedefadec6a4cc80b7d257e6b6424.tar.gz
xmonad-0fc3a5bab0ebedefadec6a4cc80b7d257e6b6424.tar.xz
xmonad-0fc3a5bab0ebedefadec6a4cc80b7d257e6b6424.zip
added mirrorLayout to mirror arbitrary layouts
darcs-hash:20070504014653-b9aa7-1709cb0b718a7a058021c76fb95f9654c43f54b1.gz
Diffstat (limited to 'tests')
-rw-r--r--tests/Properties.hs10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/Properties.hs b/tests/Properties.hs
index c8b7e05..d630d0c 100644
--- a/tests/Properties.hs
+++ b/tests/Properties.hs
@@ -1,7 +1,7 @@
{-# OPTIONS -fglasgow-exts #-}
import StackSet
-import Operations (tile,vtile)
+import Operations (tile)
import Debug.Trace
import Data.Word
@@ -226,15 +226,10 @@ prop_push_local (x :: T) i = not (member i x) ==> hidden x == hidden (push i x)
-- 1 window should always be tiled fullscreen
prop_tile_fullscreen rect = tile pct rect [1] == [(1, rect)]
-prop_vtile_fullscreen rect = vtile pct rect [1] == [(1, rect)]
-
-- multiple windows
prop_tile_non_overlap rect windows = noOverlaps (tile pct rect windows)
where _ = rect :: Rectangle
-prop_vtile_non_overlap rect windows = noOverlaps (vtile pct rect windows)
- where _ = rect :: Rectangle
-
pct = 3 % 100
noOverlaps [] = True
@@ -363,8 +358,7 @@ main = do
------------------------------------------------------------------------
,("tile 1 window fullsize", mytest prop_tile_fullscreen)
- ,("vtile 1 window fullsize", mytest prop_vtile_fullscreen)
- ,("vtiles never overlap", mytest prop_vtile_non_overlap )
+ ,("tiles never overlap", mytest prop_tile_non_overlap)
]