U
    ?h                     @   s4   d dl mZ d dlmZ dd Zdd Zdd Zd	S )
    )line_nd)assert_equalc                  C   s4   t dd} t| dksttdd | D s0td S )N)   r   r      c                 s   s   | ]}t |d kV  qdS )r   N)len).0c r	   Q/var/www/html/venv/lib/python3.8/site-packages/skimage/draw/tests/test_draw_nd.py	<genexpr>   s     z"test_empty_line.<locals>.<genexpr>)r   r   AssertionErrorallZcoordsr	   r	   r
   test_empty_line   s    
r   c                  C   s(   t dd} t| dddgdddgg d S )N)r   )   r   r   r   r   r   r   r   r	   r	   r
   test_zero_line   s    
r   c                  C   s.   t ddddd} t| dddgd	d	d	gg d S )
N)      ?r   )      @r   FT)integerZendpointr   g      ?r   r   r   r   r	   r	   r
   test_no_round   s    r   N)Zskimage.drawr   Zskimage._shared.testingr   r   r   r   r	   r	   r	   r
   <module>   s   