Skip to content

Commit c72a201

Browse files
committed
Scale the range outwards from 0.
1 parent 4659e9f commit c72a201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Geometry/Plane/Test.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ prop_signedDistance_identity = property $ do
1616

1717

1818
coord :: MonadGen m => m Rational
19-
coord = Gen.realFrac_ (Range.linearFrac (-100) 100)
19+
coord = Gen.realFrac_ (Range.linearFracFrom 0 (-100) 100)
2020

2121
nonZero :: (MonadGen m, Num a, Eq a) => m a -> m a
2222
nonZero = Gen.filterT (/= 0)

0 commit comments

Comments
 (0)