Пример #1
0
def test_dup_zz_irreducible_p():
    assert dup_zz_irreducible_p([3, 2, 6, 8, 7], ZZ) is None
    assert dup_zz_irreducible_p([3, 2, 6, 8, 4], ZZ) is None

    assert dup_zz_irreducible_p([3, 2, 6, 8, 10], ZZ) == True
    assert dup_zz_irreducible_p([3, 2, 6, 8, 14], ZZ) == True
Пример #2
0
def test_dup_zz_irreducible_p():
    assert dup_zz_irreducible_p([3, 2, 6, 8, 7], ZZ) is None
    assert dup_zz_irreducible_p([3, 2, 6, 8, 4], ZZ) is None

    assert dup_zz_irreducible_p([3, 2, 6, 8, 10], ZZ) == True
    assert dup_zz_irreducible_p([3, 2, 6, 8, 14], ZZ) == True