def METHOD_NAME():
    """
    Test a run made of preflag + queuestep.
    """
    parset = dp3.parameterset.ParameterSet()
    parset.add("preflag.chan", "[0,1]")
    preflag_step = dp3.make_step(
        "preflag", parset, "preflag.", dp3.MsType.regular
    )
    queue_step = dp3.steps.QueueOutput(parset, "")
    preflag_step.set_next_step(queue_step)
    # Define dimensions of input data
    n_baselines = 1
    n_channels = 2
    n_correlations = 4
    dpinfo = dp3.DPInfo(n_correlations)
    names = ["antenna_name_1", "antenna_name_2"]
    diameters = [42, 43]
    positions = [[3837661, 428218, 5059358], [3977999, -8862, 4968870]]
    first_indices = [0]
    second_indices = [1]
    dpinfo.set_antennas(
        names, diameters, positions, first_indices, second_indices
    )
    first_time = 42.0
    last_time = 156.0
    interval = 5.0
    dpinfo.set_times(first_time, last_time, interval)
    frequencies = [42.0e6, 43.0e6]
    widths = [1.0e6, 1.0e6]
    dpinfo.set_channels(frequencies, widths)
    preflag_step.set_info(dpinfo)
    # loop over three time steps
    n_time = 3
    for i in range(n_time):
        print("processing time ", i)
        # Create an empty buffer
        dpbuffer_in = dp3.DPBuffer()
        # Create input data
        data_in = i * np.ones(
            (n_baselines, n_channels, n_correlations), dtype=np.complex64
        )
        weights_in = (
            10
            * i
            * np.ones(
                (n_baselines, n_channels, n_correlations), dtype=np.float32
            )
        )
        # Create input data
        flags_in = np.zeros((n_baselines, n_channels, n_correlations), bool)
        # Put input data in buffer
        dpbuffer_in.set_data(data_in)
        dpbuffer_in.set_weights(weights_in)
        dpbuffer_in.set_flags(flags_in)
        # Process input data
        # The output should end up in the queue of the QueueOutput step
        preflag_step.process(dpbuffer_in)