Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ test_tuple
Function
test_tuple
python/pyfory/tests/test_serializer.py:80–83 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
79
80
def
test_tuple():
81
fory = Fory(xlang=False, ref=True, compatible=False)
82
print(len(fory.serialize((-1.0, 2))))
83
assert ser_de(fory, (-1.0, 2)) == (-1.0, 2)
84
85
86
def
test_string():
Callers
nothing calls this directly
Calls
3
serialize
Method · 0.95
Fory
Class · 0.90
ser_de
Function · 0.70
Tested by
no test coverage detected