o
    jg(	  ć                   @   s<   d dl mZmZmZ d dl mZ dd Zdd Zdd Zd	S )
é    )Śbinomial_coefficientsŚbinomial_coefficients_listŚmultinomial_coefficients)Ś!multinomial_coefficients_iteratorc                   C   s   t ddgks	J t dddgksJ t dg d¢ksJ t dg d¢ks'J t dg d¢ks1J t d	g d
¢ks;J t dg d¢ksEJ d S )Nr   é   é   )r   r   r   é   )r   r   r   r   é   )r   r	   é   r	   r   é   )r   r   é
   r   r   r   r
   )r   r
   é   é   r   r
   r   )r   © r   r   ś\/var/www/html/zoom/venv/lib/python3.10/site-packages/sympy/ntheory/tests/test_multinomial.pyŚtest_binomial_coefficients_list   s   r   c                     s@   t dD ]} t|   fddt D }|t| ksJ qd S )Nr   c                    s   g | ]} | qS r   r   )Ś.0Śk©Ścr   r   Ś
<listcomp>   ó    z.test_binomial_coefficients.<locals>.<listcomp>)Śranger   Śsortedr   )ŚnŚlr   r   r   Śtest_binomial_coefficients   s
   żr   c                     s¦  t ddddiksJ t ddddiksJ t ddddiks!J t ddddiks,J t ddddd	ks8J t dddddd
ksEJ t dddddddksSJ t ddddddks`J t dddddddddkspJ t dd} | ddddddddddd
ksJ ttddddiksJ ttddddd	ks”J ttdddddd
ks°J ttdd| ks»J tdd  fddtdD g d¢ksŃJ d S )Nr   )r   r   )r   r   )r   r   )r   r   ))r   r   )r   r   ))r   r   )r   r   )r   r   ))r   r   )r   r   )r   r   )r   r   ))r   r   r   )r   r   r   )r   r   r   ))r   r   r   )r   r   r   )r   r   r   )r   r   r   )r   r   r   )r   r   r   r
   )
)r   r   r   )r   r   r   )r   r   r   )r   r   r   )r   r   r   )r   r   r   )r   r   r   )r   r   r   )r   r   r   )r   r   r   é   c                    s   g | ]}t  qS r   )Śnext)r   Śi©Śitr   r   r   .   r   z1test_multinomial_coefficients.<locals>.<listcomp>r	   )))r   r   r   r   r   r   r   r   ))r   r   r   r   r   r   r   r   ))r   r   r   r   r   r   r   r   ))r   r   r   r   r   r   r   r   )r   Śdictr   r   )Śmcr   r    r   Śtest_multinomial_coefficients   sD   ’’’
ž’’
’
’r$   N)Śsympy.ntheory.multinomialr   r   r   r   r   r   r$   r   r   r   r   Ś<module>   s
    
