def METHOD_NAME():
    '''Test parameters that validate should accept.'''
    _, invoke = get_invoke("test27_loop_swap.f90", "gocean1.0",
                           name="invoke_loop1")
    schedule = invoke.schedule
    my_rt = MyRegionTrans()
    # Check that correct ordering works:
    node_list = [schedule.children[0], schedule.children[1],
                 schedule.children[2]]
    my_rt.validate(node_list)
    # Check that a single Node is accepted
    my_rt.validate(schedule.children[0])
    # Check that a single Schedule is accepted
    my_rt.validate(schedule)