o
    i	                     @   s$   d Z ddlmZ g dZdd ZdS )z#Test cell multiselection operations   )EDITOR_PAGE)z
print("a")z
print("b")z
print("c")c                    s  | t   fdd} fdd} d | dksJ  dt}t|dks*J |d | dks5J |d	 | dks@J  d |d	 | dksPJ  d
t  dt}|g dksdJ | dkskJ  d |d | dks{J  dt  dt}|g dksJ | dksJ  d |d | dksJ  dt  dt}|dgd ksJ | dksJ d S )Nc                    s     d|  dt d S )Nz%Jupyter.notebook.extend_selection_by(z);evaluater   )deltanotebook_frontend f/var/www/edux/Edux_v2/venv/lib/python3.10/site-packages/nbclassic/tests/end_to_end/test_multiselect.pyextend_selection_by   s   z-test_multiselect.<locals>.extend_selection_byc                      s     dtS )Nz>() => { return Jupyter.notebook.get_selected_cells().length; }r   r   r   r   r	   n_selected_cells   s   z*test_multiselect.<locals>.n_selected_cells    r   z+.cell.jupyter-soft-selected, .cell.selected   z%Jupyter.notebook.cells_to_markdown();zC() => { return Jupyter.notebook.get_cells().map(c => c.cell_type) })markdownr   codez Jupyter.notebook.cells_to_raw();)r   rawr      z!Jupyter.notebook.cells_to_code();r   )INITIAL_CELLS
focus_cell
locate_allr   lenr   )prefill_notebookr
   r   selected_css
cell_typesr   r   r	   test_multiselect
   sP   



r   N)__doc__utilsr   r   r   r   r   r   r	   <module>   s    