from ionpy import Port, Type, TypeCode


def test_port():
    t = Type(code_=TypeCode.Int, bits_=32, lanes_=1)

    p = Port(key='iamkey', type=t, dim=3)
    print(p)

from ionpy import Port, Type, TypeCode


def test_port():
    t = Type(code_=TypeCode.Int, bits_=32, lanes_=1)

    p = Port(key='iamkey', type=t, dim=3)
    print(p)
