Both +0.0 and -0.0 hash the same (consistent with RecursiveEq).
()
| 82 | |
| 83 | |
| 84 | def test_float_signed_zero_hash() -> None: |
| 85 | """Both +0.0 and -0.0 hash the same (consistent with RecursiveEq).""" |
| 86 | assert RecursiveHash(-0.0) == RecursiveHash(0.0) |
| 87 | |
| 88 | |
| 89 | def test_float_infinity_hash() -> None: |
nothing calls this directly
no test coverage detected