diff --git a/test/arithmetic.jl b/test/arithmetic.jl index 1b46400..f73bfbc 100644 --- a/test/arithmetic.jl +++ b/test/arithmetic.jl @@ -162,7 +162,7 @@ end @test one(fRG) == g @test iszero(zero(fRG)) @test zero(g) == zero(fRG) - @test_broken iszero(0 * g) + @test iszero(0 * g) @testset "Translations between bases" begin Z = zero(RG) @@ -216,7 +216,7 @@ end @test coeffs(fZ) == coeffs(Z, basis(fRG)) @test coeffs(2 * X * Y) == coeffs(MA.operate_to!(Z, *, Z, 2)) - @test_broken coeffs(2 * fX * fY) == + @test coeffs(2 * fX * fY) == coeffs(MA.operate_to!(fZ, *, fZ, 2)) end end @@ -287,7 +287,7 @@ end y = spzeros(length(basis(fRG))) y[1:k] .= 1 Y = AlgebraElement(y, fRG) - @test_broken Y = sum(fRG(basis(fRG)[i]) for i in 1:k) + @test Y == sum(fRG(basis(fRG)[i]) for i in 1:k) @test Y isa AlgebraElement @@ -321,15 +321,15 @@ end @static if VERSION ≥ v"1.9" YY = deepcopy(Y) @test_broken @allocations(MA.operate_to!(YY, +, Y, YY)) == 0 - @test_broken YY == Y + Y + @test YY == Y + Y YY = deepcopy(Y) @test_broken @allocations(MA.operate_to!(YY, +, YY, Y)) == 0 - @test_broken YY == Y + Y + @test YY == Y + Y @test_broken @allocations(MA.operate_to!(YY, +, Y, deepcopy(Y))) == 0 - @test_broken YY == Y + Y + @test YY == Y + Y @test @allocations(MA.operate_to!(YY, *, Y, Y)) ≤ 40 @test YY == Y * Y