We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e68aa7 commit f34e51aCopy full SHA for f34e51a
test/algebra.jl
@@ -1,10 +1,10 @@
1
@testset "Algebra" begin
2
Mod.@polyvar x y
3
- #@test 2 .- ((1 .+ (-x)) .* 4) ./ 2 == x.^2 .* (1 ./ x) .* 2
+ @test 2 .- ((1 .+ (-x)) .* 4) ./ 2 == x.^2 .* (1 ./ x) .* 2
4
@test dot(0, x^2 - 2*x^2) == dot((x^2 - x)', x^2 - x^2)
5
@test dot(x + 1, 2) == 2x + 2
6
- # @test 2 .* x .+ 2 == (x + 3) .+ (x .- 1)
7
- # @test ((x + y) .- y) ./ y == x / y
+ @test 2 .* x .+ 2 == (x + 3) .+ (x .- 1)
+ @test ((x + y) .- y) ./ y == x / y
8
@test (-2)*x == -(2*x)
9
@test x * x == x^2
10
@test 4x == 2.0(2x)
0 commit comments