MCPcopy Create free account
hub / github.com/apache/tvm-ffi / test_long

Method test_long

tests/python/test_serialization.py:166–168  ·  view source on GitHub ↗

Long string roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

164 _assert_roundtrip_eq(tvm_ffi.convert("hello"))
165
166 def test_long(self) -> None:
167 """Long string roundtrips correctly."""
168 _assert_roundtrip_eq(tvm_ffi.convert("x" * 1000))
169
170 def test_special_chars(self) -> None:
171 """String with special characters roundtrips correctly."""

Callers

nothing calls this directly

Calls 2

_assert_roundtrip_eqFunction · 0.85
convertMethod · 0.45

Tested by

no test coverage detected