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

Method test_large_positive

tests/python/test_serialization.py:112–115  ·  view source on GitHub ↗

Large positive int roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

110 assert result == -1
111
112 def test_large_positive(self) -> None:
113 """Large positive int roundtrips correctly."""
114 result = _roundtrip(10**15)
115 assert result == 10**15
116
117 def test_large_negative(self) -> None:
118 """Large negative int roundtrips correctly."""

Callers

nothing calls this directly

Calls 1

_roundtripFunction · 0.85

Tested by

no test coverage detected