All NaN values hash the same (consistent with RecursiveEq).
()
| 98 | |
| 99 | |
| 100 | def test_nan_hash() -> None: |
| 101 | """All NaN values hash the same (consistent with RecursiveEq).""" |
| 102 | assert RecursiveHash(math.nan) == RecursiveHash(math.nan) |
| 103 | |
| 104 | |
| 105 | def test_nan_payloads_hash_equal() -> None: |
nothing calls this directly
no test coverage detected