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

Method test_empty

tests/python/test_serialization.py:158–160  ·  view source on GitHub ↗

Empty string roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

156 """Roundtrip tests for ffi.String values."""
157
158 def test_empty(self) -> None:
159 """Empty string roundtrips correctly."""
160 _assert_roundtrip_eq(tvm_ffi.convert(""))
161
162 def test_short(self) -> None:
163 """Short string roundtrips correctly."""

Callers

nothing calls this directly

Calls 2

_assert_roundtrip_eqFunction · 0.85
convertMethod · 0.45

Tested by

no test coverage detected