File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 8383 Mod. @polyvar x
8484 # Polynomial of multiple terms
8585 p = x + x^ 2
86- @test nothing != p
87- @test p != nothing
86+ @test nothing != = p
87+ @test p != = nothing
8888 @test Dict {Int,Int} () != p
89- @test p != Dict {Int,Int} ()
89+ @test p != = Dict {Int,Int} ()
9090 # Polynomial of one term
9191 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} ()
9494 # Polynomial of no term
9595 # See https://github.com/blegat/MultivariatePolynomials.jl/issues/22
9696 p = x - x
97- @test p != nothing
98- @test p != Dict {Int,Int} ()
97+ @test p != = nothing
98+ @test p != = Dict {Int,Int} ()
9999 end
100100end
Original file line number Diff line number Diff line change 1818 # @test iszero(zero(RationalPoly{true, Float64, Int}))
1919 # @test typeof(x / 2) == Term{true, Float64}
2020 # @test typeof((x + x^2) / 3.0) == Polynomial{true, Float64}
21- @test nothing != x / (x^ 2 + 1 )
21+ @test nothing != = x / (x^ 2 + 1 )
2222 @test (x^ 2 + 1 ) / (2 x) != nothing
2323 @test Dict {Int,Int} () != x / (x^ 2 + 1 )
2424 @test (x^ 2 + 1 ) / (2 x) != Dict {Int,Int} ()
You can’t perform that action at this time.
0 commit comments