a ej@s:ddlZddlmmZddlmZddZddZ dS)N)CardcCstj}d}||}d}||k}|std|fd||fdtvsLttrVttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d }||}d }||k}|sLtd|fd||fdtvsttrttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d }||}d }||k}|std|fd||fdtvsttrttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d }||}d}||k}|std|fd||fdtvsfttrpttndt|t|t|t|d}dd|i}tt |d}}}}}dS)NZ2si==)zI%(py6)s {%(py6)s = %(py2)s {%(py2)s = %(py0)s.new }(%(py4)s) } == %(py9)srpy0py2py4py6Zpy9assert %(py11)spy11Z3hi!Z4diBZAci)) rnew @pytest_ar_call_reprcompare @py_builtinslocals_should_repr_global_name _safereprAssertionError_format_explanation @py_assert1 @py_assert3Z @py_assert5Z @py_assert8Z @py_assert7Z @py_format10Z @py_format12rA/Users/seanglover/Development/deuces-rs/test/deuces3/test_card.pytest_newsrcCsPtj}d}||}d}||k}|std|fd||fdtvsLttrVttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d }||}d }||k}|sLtd|fd||fdtvsttrttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d }||}d }||k}|std|fd||fdtvsttrttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d }||}d}||k}|std|fd||fdtvsfttrpttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d}||}d}||k}|shtd|fd||fdtvsttr$ttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d}||}d}||k}|std|fd||fdtvsttrttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d}||}d}||k}|std|fd||fdtvsttrttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d}||}d}||k}|std|fd||fdtvs6ttr@ttndt|t|t|t|d}dd|i}tt |d}}}}}tj}d}||}d}||k}|s8td|fd||fdtvsttrttndt|t|t|t|d}dd|i}tt |d}}}}}dS)NiRr)za%(py6)s {%(py6)s = %(py2)s {%(py2)s = %(py0)s.prime_product_from_rankbits }(%(py4)s) } == %(py9)srrr r i{ii@iiia|i]L>i:i ii!) rZprime_product_from_rankbitsr rrrrrrrrrrr test_prime_product_from_rankbits sr!) builtinsr_pytest.assertion.rewrite assertionrewriter Zdeuces3.card_mvprrr!rrrrs&