deeper test for differentiate. back to 100% coverage

This commit is contained in:
Don Stewart
2007-09-30 07:50:18 +00:00
parent 2b6a200ad3
commit 60a40be09e

View File

@@ -547,7 +547,7 @@ prop_screens (x :: T) = n `elem` screens x
prop_differentiate xs =
if null xs then differentiate xs == Nothing
else focus (fromJust (differentiate xs)) == head xs
else (differentiate xs) == Just (Stack (head xs) [] (tail xs))
where _ = xs :: [Int]
-- looking up the tag of the current workspace should always produce a tag.