MCPcopy Create free account
hub / github.com/ScrapeGraphAI/toonify / test_roundtrip_primitive_array

Function test_roundtrip_primitive_array

tests/test_roundtrip.py:38–49  ·  view source on GitHub ↗

Test round-trip of primitive arrays.

()

Source from the content-addressed store, hash-verified

36
37
38def test_roundtrip_primitive_array():
39 """Test round-trip of primitive arrays."""
40 original = {
41 'numbers': [1, 2, 3, 4, 5],
42 'names': ['Alice', 'Bob', 'Charlie'],
43 'mixed': [1, 'text', True, None]
44 }
45
46 toon = encode(original)
47 result = decode(toon)
48
49 assert result == original
50
51
52def test_roundtrip_tabular_array():

Callers

nothing calls this directly

Calls 2

encodeFunction · 0.90
decodeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…