Add more examples for Integer.parse

- show behavior of parsing with unparsable suffix bits
- show behavior of parsing float as integer
This commit is contained in:
Jay Hayes
2016-06-13 09:13:46 -05:00
parent 2127c9ea27
commit ec08c7fd7a
2 changed files with 10 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ defmodule NumbersTests do
'7',
"1234",
42,
" years",
{:multiple, [1, ".2"]},
34.5,
1.5,
35.0,