Esempio n. 1
0
def test_dmp_trial_division():
    assert dmp_trial_division([[1], [8], [25], [38], [28], [8]],
                              ([[1], [1]], [[1], [2]]), 1,
                              ZZ) == [([[1], [1]], 2), ([[1], [2]], 3)]
Esempio n. 2
0
def test_dmp_trial_division():
    assert dmp_trial_division([[1],[8],[25],[38],[28],[8]],
        ([[1],[1]], [[1],[2]]), 1, ZZ) == [([[1],[1]], 2), ([[1],[2]], 3)]