Example #1
0
def test_fateman_poly_F_3():
    f,g,h = fateman_poly_F_3(1)
    F,G,H = dmp_fateman_poly_F_3(1, ZZ)

    assert [ t.rep.rep for t in [f,g,h] ] == [F,G,H]

    f,g,h = fateman_poly_F_3(3)
    F,G,H = dmp_fateman_poly_F_3(3, ZZ)

    assert [ t.rep.rep for t in [f,g,h] ] == [F,G,H]
def test_fateman_poly_F_3():
    f,g,h = fateman_poly_F_3(1)
    F,G,H = zzX_fateman_poly_F_3(1)

    assert map(zzX_from_poly, [f,g,h]) == [F,G,H]

    f,g,h = fateman_poly_F_3(3)
    F,G,H = zzX_fateman_poly_F_3(3)

    assert map(zzX_from_poly, [f,g,h]) == [F,G,H]
def test_fateman_poly_F_3():
    f, g, h = fateman_poly_F_3(1)
    F, G, H = dmp_fateman_poly_F_3(1, ZZ)

    assert [ t.rep.rep for t in [f, g, h] ] == [F, G, H]

    f, g, h = fateman_poly_F_3(3)
    F, G, H = dmp_fateman_poly_F_3(3, ZZ)

    assert [ t.rep.rep for t in [f, g, h] ] == [F, G, H]
Example #4
0
def test_fateman_poly_F_3():
    f, g, h = fateman_poly_F_3(1)
    F, G, H = zzX_fateman_poly_F_3(1)

    assert map(zzX_from_poly, [f, g, h]) == [F, G, H]

    f, g, h = fateman_poly_F_3(3)
    F, G, H = zzX_fateman_poly_F_3(3)

    assert map(zzX_from_poly, [f, g, h]) == [F, G, H]