Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Log message for the chooseFloat range test
  • Loading branch information
jacereda committed Feb 17, 2019
commit 5cff9ab0667d2e79d6f6a973a650dd087893961b
1 change: 1 addition & 0 deletions test/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ main = do
quickCheck $ 4 >? 3
quickCheckFail $ 4 <=? 3

log "Checking that chooseFloat over the whole Number range always yields a finite value"
randomSample (MGen.chooseFloat ((-1.7976931348623157e+308)) (1.7976931348623157e+308)) >>= assert <<< all isFinite

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a log statement just before this line so that if this fails, it will be a little clearer as to why?


where
Expand Down