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

Function test_roundtrip_simple_object

tests/test_roundtrip.py:6–17  ·  view source on GitHub ↗

Test round-trip of simple object.

()

Source from the content-addressed store, hash-verified

4
5
6def test_roundtrip_simple_object():
7 """Test round-trip of simple object."""
8 original = {
9 'name': 'Alice',
10 'age': 30,
11 'active': True
12 }
13
14 toon = encode(original)
15 result = decode(toon)
16
17 assert result == original
18
19
20def test_roundtrip_nested_object():

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…