()
| 70 | |
| 71 | |
| 72 | def test_float(): |
| 73 | fory = Fory(xlang=False, ref=True, compatible=False) |
| 74 | assert ser_de(fory, -1.0) == -1.0 |
| 75 | assert ser_de(fory, 1 / 3) == 1 / 3 |
| 76 | serializer = fory.type_resolver.get_serializer(float) |
| 77 | assert type(serializer) is pyfory.Float64Serializer |
| 78 | |
| 79 | |
| 80 | def test_tuple(): |
nothing calls this directly
no test coverage detected