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

Function test_roundtrip_empty_structures

tests/test_roundtrip.py:68–81  ·  view source on GitHub ↗

Test round-trip of empty structures.

()

Source from the content-addressed store, hash-verified

66
67
68def test_roundtrip_empty_structures():
69 """Test round-trip of empty structures."""
70 original = {
71 'empty_object': {},
72 'empty_array': [],
73 'nested': {
74 'also_empty': {}
75 }
76 }
77
78 toon = encode(original)
79 result = decode(toon)
80
81 assert result == original
82
83
84def test_roundtrip_special_strings():

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…