def METHOD_NAME():
    foo = def_foo()
    m.compile("build/test_multi_direction_tuple", foo, output="coreir")
    assert check_files_equal(__file__, f"build/test_multi_direction_tuple.json",
                             f"gold/test_multi_direction_tuple.json")
    assert [T.is_input() for T in foo.interface.ports["ifc"].types()] == \
           [False, True]
    assert [T.is_input() for T in foo.IO.ports["ifc"].types()] == \
           [True, False]