(data_file_path)
| 426 | |
| 427 | @cross_language_test |
| 428 | def test_serialize_simple_struct(data_file_path): |
| 429 | compatible = "compatible" in data_file_path |
| 430 | fory = pyfory.Fory(xlang=True, ref=True, compatible=compatible) |
| 431 | fory.register_type(ComplexObject2, name="test.ComplexObject2") |
| 432 | obj = ComplexObject2(f1=True, f2={-1: 2}) |
| 433 | struct_round_back(data_file_path, fory, obj) |
| 434 | |
| 435 | |
| 436 | @cross_language_test |
nothing calls this directly
no test coverage detected