tests/float/inf_nan_arith.py: Include -inf in argument combos.

This adds tests for, eg, -inf + inf which should be nan.

Signed-off-by: Damien George <damien@micropython.org>
pull/13133/head
Damien George 2023-12-06 14:05:14 +11:00
rodzic 3f2c423686
commit b796f1e3f1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3,7 +3,7 @@
inf = float("inf")
nan = float("nan")
values = (-2, -1, 0, 1, 2, inf, nan)
values = (-2, -1, 0, 1, 2, inf, -inf, nan)
for x in values:
for y in values: