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

Method test_zero

tests/python/test_serialization.py:126–129  ·  view source on GitHub ↗

Float zero roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

124 """Roundtrip tests for float values."""
125
126 def test_zero(self) -> None:
127 """Float zero roundtrips correctly."""
128 result = _roundtrip(0.0)
129 assert result == 0.0
130
131 def test_positive(self) -> None:
132 """Positive float roundtrips correctly."""

Callers

nothing calls this directly

Calls 1

_roundtripFunction · 0.85

Tested by

no test coverage detected