MCPcopy
hub / github.com/hylang/hy / test_replace_tuple

Function test_replace_tuple

tests/test_models.py:86–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84
85
86def test_replace_tuple():
87 replaced = replace_hy_obj((0,), Integer(13))
88 assert type(replaced) == Tuple
89 assert type(replaced[0]) == Integer
90 assert replaced == Tuple([Integer(0)])
91
92
93def test_list_add():

Callers

nothing calls this directly

Calls 3

replace_hy_objFunction · 0.90
IntegerClass · 0.90
TupleClass · 0.90

Tested by

no test coverage detected