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

Class Colors

tests/python/test_dataclass_enum.py:121–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120def test_int_enum_payload_value() -> None:
121 class Colors(IntEnum, type_key=_unique_key("IntEnum")):
122 red = entry(value=10)
123 blue = entry(value=20)
124
125 assert Colors.red.value == 10
126 assert Colors.blue.value == 20

Callers

nothing calls this directly

Calls 2

entryFunction · 0.90
_unique_keyFunction · 0.70

Tested by

no test coverage detected