summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-03-09 05:36:38 +0100
committerDon Stewart <dons@cse.unsw.edu.au>2007-03-09 05:36:38 +0100
commite5e7316e5f7a807155b003c1e55aa94c7f8e9588 (patch)
treec2bda7476a629f47ead767637cc53370e42f9152 /tests
parent319f07b8c7d099177adad857f66db3424f3820a1 (diff)
downloadmetatile-e5e7316e5f7a807155b003c1e55aa94c7f8e9588.tar
metatile-e5e7316e5f7a807155b003c1e55aa94c7f8e9588.zip
simpler type (no need to cache size, we *could* grow new stacks on demand now)
darcs-hash:20070309043638-9c5c1-d943771821d71f87bae133c90d0d3f3a615f4010
Diffstat (limited to 'tests')
-rw-r--r--tests/Properties.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/Properties.hs b/tests/Properties.hs
index 5185314..ab4d952 100644
--- a/tests/Properties.hs
+++ b/tests/Properties.hs
@@ -43,15 +43,13 @@ prop_viewview r x =
let n = current x
sz = size x
i = r `mod` sz
- in
- view n (view i x) == x
+ in view n (view i x) == x
where _ = x :: StackSet Int
prop_shiftshift r x =
let n = current x
- in
- shift n (shift r x) == x
+ in shift n (shift r x) == x
where _ = x :: StackSet Int
------------------------------------------------------------------------