Commit 809eda9
committed
Add tests for
Added tests for `convert(::Type{Int128}, x::Float16)` and
`convert(::Type{UInt128}, x::Float16)` which validate type and check
that `InexactError` is thrown for some cases where it should be thrown
e.g.: `@test_throws InexactError convert(UInt128, Float16(3.5))` and
`@test_throws InexactError convert(UInt128, Float16(-1))`convert
1 parent 5675f81 commit 809eda9
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
0 commit comments