()
| 84 | |
| 85 | |
| 86 | def test_string(): |
| 87 | fory = Fory(xlang=False, ref=True, compatible=False) |
| 88 | assert ser_de(fory, "hello") == "hello" |
| 89 | assert ser_de(fory, "hello,世界") == "hello,世界" |
| 90 | assert ser_de(fory, "hello,世界" * 10) == "hello,世界" * 10 |
| 91 | assert ser_de(fory, "hello,😀") == "hello,😀" |
| 92 | assert ser_de(fory, "hello,😀" * 10) == "hello,😀" * 10 |
| 93 | |
| 94 | |
| 95 | @pytest.mark.parametrize("track_ref", [False, True]) |
no test coverage detected