def test_unravel_index():
    assert_equal(_unravel_index(2, (2, 3)), (0, 2))
    assert_equal(_unravel_index(2, (2, 2)), (1, 0))
    assert_equal(_unravel_index(254, (17, 94)), (2, 66))
    assert_equal(_unravel_index((2 * 3 + 1) * 6 + 4, (4, 3, 6)), (2, 1, 4))
    assert_array_equal(_unravel_index(np.array([22, 41, 37]), (7, 6)),
                       [[3, 6, 6], [4, 5, 1]])
    assert_array_equal(_unravel_index(1621, (6, 7, 8, 9)), (3, 1, 4, 1))
Adds a colored line to the view
dataset/ETHPy150Open mne-tools/mne-python/mne/tests/test_fixes.py/test_unravel_index--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/pywraps/py_custview.py/simplecustviewer_t.AddLine