Skip to content

Commit

Permalink
Respond to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
idontgetoutmuch committed Apr 29, 2020
1 parent b72f1a5 commit 8ca0d1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ main =
-- , bitmaskSpec @Word64
-- , bitmaskSpec @Word
, runSpec
, unitTests
, floatTests
]

unitTests :: TestTree
unitTests = testGroup "Unit tests"
floatTests :: TestTree
floatTests = testGroup "(Float)"
[ -- Check that https://github.com/haskell/random/issues/53 does not regress

testCase "Subnormal generation respects upper bound" $
testCase "Subnormal generation not above upper bound" $
[] @?= (filter (>4.0e-45) $ take 100000 $ randomRs (0,(4.0e-45::Float)) $ mkStdGen 0)

, testCase "Subnormal generation includes upper bound" $
Expand Down

0 comments on commit 8ca0d1e

Please sign in to comment.