def test_find_eog():
    raw = Raw(raw_fname)
    events = find_eog_events(raw)
    n_events = len(events)
    assert_true(n_events == 4)
Test find EOG peaks
dataset/ETHPy150Open mne-tools/mne-python/mne/preprocessing/tests/test_eog.py/test_find_eog