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

Method test_negative

tests/python/test_serialization.py:107–110  ·  view source on GitHub ↗

Negative int roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

105 assert result == 42
106
107 def test_negative(self) -> None:
108 """Negative int roundtrips correctly."""
109 result = _roundtrip(-1)
110 assert result == -1
111
112 def test_large_positive(self) -> None:
113 """Large positive int roundtrips correctly."""

Callers

nothing calls this directly

Calls 1

_roundtripFunction · 0.85

Tested by

no test coverage detected