@@ -9,14 +9,16 @@ function all_tests(a, b, c, d, e, f, g)
9
9
e_copy = deepcopy (e)
10
10
f_copy = deepcopy (f)
11
11
g_copy = deepcopy (g)
12
+ # Remove exclude in v0.3.4
13
+ exclude = [" scalar_uniform_scaling" ]
12
14
@testset " Scalar" begin
13
- MA. Test. scalar_test (a)
14
- MA. Test. scalar_test (b)
15
- MA. Test. scalar_test (c)
16
- MA. Test. scalar_test (d)
17
- MA. Test. scalar_test (e)
18
- MA. Test. scalar_test (f)
19
- MA. Test. scalar_test (g)
15
+ MA. Test. scalar_test (a, exclude = exclude )
16
+ MA. Test. scalar_test (b, exclude = exclude )
17
+ MA. Test. scalar_test (c, exclude = exclude )
18
+ MA. Test. scalar_test (d, exclude = exclude )
19
+ MA. Test. scalar_test (e, exclude = exclude )
20
+ MA. Test. scalar_test (f, exclude = exclude )
21
+ MA. Test. scalar_test (g, exclude = exclude )
20
22
end
21
23
@test isequal (a, a_copy)
22
24
@test isequal (b, b_copy)
@@ -57,11 +59,13 @@ function all_tests(a, b, c, d, e, f, g)
57
59
@test isequal (c, c_copy)
58
60
@test isequal (d, d_copy)
59
61
@test isequal (e, e_copy)
62
+ # Remove exclude in v0.3.4
63
+ exclude = [" matrix_uniform_scaling" , " symmetric_matrix_uniform_scaling" ]
60
64
@testset " Matrix" begin
61
- MA. Test. array_test ([a b; c d])
62
- MA. Test. array_test ([c e; e d])
63
- MA. Test. array_test ([a b c; b c a; a b a])
64
- MA. Test. array_test ([d b c; d c e; e b a])
65
+ MA. Test. array_test ([a b; c d], exclude = exclude )
66
+ MA. Test. array_test ([c e; e d], exclude = exclude )
67
+ MA. Test. array_test ([a b c; b c a; a b a], exclude = exclude )
68
+ MA. Test. array_test ([d b c; d c e; e b a], exclude = exclude )
65
69
end
66
70
@test isequal (a, a_copy)
67
71
@test isequal (b, b_copy)
89
93
end
90
94
91
95
@testset " MutableArithmetics with terms in $T " for T in [Int, BigInt]
92
- if MA. mutability (T) isa MA. IsMutable && MA. mutability (typeof (x * y)) isa MA. IsMutable
93
- @testset " Int" begin
94
- MA. Test. int_test (termtype (x, T), exclude = [" int_add" , " int_add_mul" , " int_zero" ])
95
- end
96
- end
96
+ # Reenable for v0.3.4
97
+ # if MA.mutability(T) isa MA.IsMutable && MA.mutability(typeof(x * y)) isa MA.IsMutable
98
+ # @testset "Int" begin
99
+ # MA.Test.int_test(termtype(x, T), exclude = ["int_add", "int_add_mul", "int_zero"])
100
+ # end
101
+ # end
97
102
a = T (2 ) * x^ 2
98
103
b = T (4 ) * y^ 2
99
104
c = T (3 ) * x
@@ -105,11 +110,12 @@ end
105
110
end
106
111
107
112
@testset " MutableArithmetics with polynomials in $T " for T in [Int, BigInt]
108
- if MA. mutability (T) isa MA. IsMutable
109
- @testset " Int" begin
110
- MA. Test. int_test (polynomialtype (x, T))
111
- end
112
- end
113
+ # Reenable for v0.3.4
114
+ # if MA.mutability(T) isa MA.IsMutable
115
+ # @testset "Int" begin
116
+ # MA.Test.int_test(polynomialtype(x, T))
117
+ # end
118
+ # end
113
119
a = T (2 ) * x^ 2 + T (3 ) * x * y + T (4 ) * y
114
120
b = T (4 ) * y^ 2 - T (1 ) * x * y + T (4 ) * x
115
121
c = T (1 ) * x^ 2 + T (3 ) * x - T (4 )
0 commit comments