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

Method test_zero

tests/python/test_serialization.py:97–100  ·  view source on GitHub ↗

Zero roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

95 """Roundtrip tests for integer values."""
96
97 def test_zero(self) -> None:
98 """Zero roundtrips correctly."""
99 result = _roundtrip(0)
100 assert result == 0
101
102 def test_positive(self) -> None:
103 """Positive int roundtrips correctly."""

Callers

nothing calls this directly

Calls 1

_roundtripFunction · 0.85

Tested by

no test coverage detected