File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 83
83
Mod. @polyvar x
84
84
# Polynomial of multiple terms
85
85
p = x + x^ 2
86
- @test nothing != p
87
- @test p != nothing
86
+ @test nothing != = p
87
+ @test p != = nothing
88
88
@test Dict {Int,Int} () != p
89
- @test p != Dict {Int,Int} ()
89
+ @test p != = Dict {Int,Int} ()
90
90
# Polynomial of one term
91
91
p = x + x^ 2 - x
92
- @test p != nothing
93
- @test p != Dict {Int,Int} ()
92
+ @test p != = nothing
93
+ @test p != = Dict {Int,Int} ()
94
94
# Polynomial of no term
95
95
# See https://github.com/blegat/MultivariatePolynomials.jl/issues/22
96
96
p = x - x
97
- @test p != nothing
98
- @test p != Dict {Int,Int} ()
97
+ @test p != = nothing
98
+ @test p != = Dict {Int,Int} ()
99
99
end
100
100
end
Original file line number Diff line number Diff line change 18
18
# @test iszero(zero(RationalPoly{true, Float64, Int}))
19
19
# @test typeof(x / 2) == Term{true, Float64}
20
20
# @test typeof((x + x^2) / 3.0) == Polynomial{true, Float64}
21
- @test nothing != x / (x^ 2 + 1 )
21
+ @test nothing != = x / (x^ 2 + 1 )
22
22
@test (x^ 2 + 1 ) / (2 x) != nothing
23
23
@test Dict {Int,Int} () != x / (x^ 2 + 1 )
24
24
@test (x^ 2 + 1 ) / (2 x) != Dict {Int,Int} ()
You can’t perform that action at this time.
0 commit comments