Make sure floating point returns Infinity
This commit is contained in:
parent
576816e3b1
commit
420ba68b94
@ -5,3 +5,5 @@ try {
|
|||||||
assert_equal("Arithmetic error: divide by zero", e.what())
|
assert_equal("Arithmetic error: divide by zero", e.what())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert_equal(3/0.0, Infinity)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user