Skip to content

Commit f34e51a

Browse files
committed
Reenable broadcast tests
1 parent 2e68aa7 commit f34e51a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/algebra.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@testset "Algebra" begin
22
Mod.@polyvar x y
3-
#@test 2 .- ((1 .+ (-x)) .* 4) ./ 2 == x.^2 .* (1 ./ x) .* 2
3+
@test 2 .- ((1 .+ (-x)) .* 4) ./ 2 == x.^2 .* (1 ./ x) .* 2
44
@test dot(0, x^2 - 2*x^2) == dot((x^2 - x)', x^2 - x^2)
55
@test dot(x + 1, 2) == 2x + 2
6-
# @test 2 .* x .+ 2 == (x + 3) .+ (x .- 1)
7-
# @test ((x + y) .- y) ./ y == x / y
6+
@test 2 .* x .+ 2 == (x + 3) .+ (x .- 1)
7+
@test ((x + y) .- y) ./ y == x / y
88
@test (-2)*x == -(2*x)
99
@test x * x == x^2
1010
@test 4x == 2.0(2x)

0 commit comments

Comments
 (0)