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

Method test_short

tests/python/test_serialization.py:162–164  ·  view source on GitHub ↗

Short string roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

160 _assert_roundtrip_eq(tvm_ffi.convert(""))
161
162 def test_short(self) -> None:
163 """Short string roundtrips correctly."""
164 _assert_roundtrip_eq(tvm_ffi.convert("hello"))
165
166 def test_long(self) -> None:
167 """Long string roundtrips correctly."""

Callers

nothing calls this directly

Calls 2

_assert_roundtrip_eqFunction · 0.85
convertMethod · 0.45

Tested by

no test coverage detected