summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2008-03-07 19:16:57 +0100
committerDon Stewart <dons@galois.com>2008-03-07 19:16:57 +0100
commit77f396d844c0e8bcd0ea3f9c88f89aa54514317f (patch)
tree7ea8515497cf8b5636a7f6a4e039d3f91f012317 /tests
parentdbbaa5b7b5de2a0d774493731be6ce1f6a398f98 (diff)
downloadmetatile-77f396d844c0e8bcd0ea3f9c88f89aa54514317f.tar
metatile-77f396d844c0e8bcd0ea3f9c88f89aa54514317f.zip
more general properties for view, greedyView
darcs-hash:20080307181657-cba2c-cbce57144f581da1aa34ef78dcadba41f7207a5d
Diffstat (limited to 'tests')
-rw-r--r--tests/Properties.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Properties.hs b/tests/Properties.hs
index 23d6c8b..f8f0684 100644
--- a/tests/Properties.hs
+++ b/tests/Properties.hs
@@ -136,10 +136,10 @@ prop_empty_I (n :: Positive Int) l = forAll (choose (1,fromIntegral n)) $ \m -
invariant $ new l [0..fromIntegral n-1] ms
prop_view_I (n :: NonNegative Int) (x :: T) =
- n `tagMember` x ==> invariant $ view (fromIntegral n) x
+ invariant $ view (fromIntegral n) x
prop_greedyView_I (n :: NonNegative Int) (x :: T) =
- n `tagMember` x ==> invariant $ greedyView (fromIntegral n) x
+ invariant $ greedyView (fromIntegral n) x
prop_focusUp_I (n :: NonNegative Int) (x :: T) =
invariant $ foldr (const focusUp) x [1..n]