def METHOD_NAME():
    events = basic_paradigm()
    trial_type, _, _, modulation = check_events(events)
    # Check that given trial type is right
    assert_array_equal(
        trial_type, ["c0", "c0", "c0", "c1", "c1", "c1", "c2", "c2", "c2"]
    )
    # Check that missing modulation yields an array one ones
    assert_array_equal(modulation, np.ones(len(events)))
    # Modulation is provided
    events["modulation"] = np.ones(len(events))
    _, _, _, mod = check_events(events)
    assert_array_equal(mod, events["modulation"])