File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 35
35
- PYTHON_VERSION="3.3" WITH_MPC="yes"
36
36
- PYTHON_VERSION="3.4" WITH_MPFR="yes"
37
37
- PYTHON_VERSION="3.5" WITH_MPC="yes"
38
- - PYTHON_VERSION="3.6" WITH_MPC="yes"
38
+ - PYTHON_VERSION="3.6" WITH_MPC="yes" INTEGER_CLASS="flint" WITH_FLINT="yes"
39
39
40
40
matrix :
41
41
exclude :
@@ -78,7 +78,7 @@ matrix:
78
78
- env : BUILD_TYPE="Debug" PYTHON_VERSION="2.7" WITH_NUMPY="no"
79
79
compiler : gcc
80
80
os : osx
81
- - env : BUILD_TYPE="Release" PYTHON_VERSION="3.5"
81
+ - env : BUILD_TYPE="Release" PYTHON_VERSION="3.5" INTEGER_CLASS="flint" WITH_FLINT="yes"
82
82
compiler : gcc
83
83
os : osx
84
84
- env : BUILD_TYPE="Release" WITH_SAGE="yes" WITH_MPC="yes" PYTHON_VERSION="2.7"
Original file line number Diff line number Diff line change @@ -37,9 +37,15 @@ def test_gcd_ext():
37
37
assert p == q * 6 + r * 9
38
38
(q , r , p ) = gcd_ext (- 15 , 10 )
39
39
assert p == q * - 15 + r * 10
40
- assert gcd_ext (2 , 3 ) == (- 1 , 1 , 1 )
41
- assert gcd_ext (10 , 12 ) == (- 1 , 1 , 2 )
42
- assert gcd_ext (100 , 2004 ) == (- 20 , 1 , 4 )
40
+ (q , r , p ) = gcd_ext (2 , 3 )
41
+ assert p == q * 2 + r * 3
42
+ assert p == 1
43
+ (q , r , p ) = gcd_ext (10 , 12 )
44
+ assert p == q * 10 + r * 12
45
+ assert p == 2
46
+ (q , r , p ) = gcd_ext (100 , 2004 )
47
+ assert p == q * 100 + r * 2004
48
+ assert p == 4
43
49
44
50
45
51
def test_mod ():
You can’t perform that action at this time.
0 commit comments