mirror of
https://github.com/correl/elm.git
synced 2024-11-15 11:09:30 +00:00
Add a note about the missing high value grains test cases
This commit is contained in:
parent
e3ef09ce99
commit
e908e0dd7a
1 changed files with 7 additions and 0 deletions
|
@ -26,5 +26,12 @@ tests =
|
|||
\() -> Expect.equal Nothing (square 0)
|
||||
, test "negative square raises an exception" <|
|
||||
\() -> Expect.equal Nothing (square -1)
|
||||
{-
|
||||
Where are the bigger test values?!? Because Javascript's numbers
|
||||
can't represent values higher than `Number.MAX_SAFE_INTEGER`
|
||||
(i.e. 9007199254740991), we chose to exclude these final values
|
||||
to avoid the weirdness. A bit more information can be found
|
||||
here: https://github.com/elm-lang/elm-compiler/issues/1246
|
||||
-}
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue