Add haddocks and/or cleanup
This commit is contained in:
+3
-3
@@ -30,9 +30,9 @@ polygonStrictlyConvex ps = True
|
||||
--prop_looping :: [Point2] -> [WallP] -> Bool
|
||||
|
||||
prop_looping = forAllShrink genTris shrinkTris $ \tris ->
|
||||
(all (not . (\[a,b,c] -> isOnLine a b c
|
||||
|| isOnLine a c b
|
||||
|| isOnLine b c a
|
||||
(all (not . (\[a,b,c] -> isOnSeg a b c
|
||||
|| isOnSeg a c b
|
||||
|| isOnSeg b c a
|
||||
) ) tris)
|
||||
==> (isLooping' $ foldr cutWalls' [] tris)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user