def test_wrap_tuple():
 wrapped = wrap_value((HyInteger(0),))
 assert (type(wrapped) == HyList)
 assert (type(wrapped[0]) == HyInteger)
 assert (wrapped == HyList([HyInteger(0)]))

def test_wrap_tuple ( ) : wrapped = wrap_value ( ( HyInteger ( 0 ) , ) ) assert ( type ( wrapped ) == HyList ) assert ( type ( wrapped [ 0 ] ) == HyInteger ) assert ( wrapped == HyList ( [ HyInteger ( 0 ) ] ) )
test conversion of tuples .