Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Aug 10, 2023
1 parent 5024acb commit 0a29061
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion test/arb/ComplexPoly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ end
f = x^2 + 2x + 1
g = x^3 + 3x + 1

@test compose(g, f) == f(g(x))
@test compose(g, f) == x^6+6*x^4+4*x^3+9*x^2+12*x+4
end

Expand Down
1 change: 0 additions & 1 deletion test/arb/RealPoly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ end
f = x^2 + 2x + 1
g = x^3 + 3x + 1

@test compose(g, f) == f(g(x))
@test compose(g, f) == x^6+6*x^4+4*x^3+9*x^2+12*x+4
end

Expand Down
1 change: 0 additions & 1 deletion test/arb/acb_poly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ end
f = x^2 + 2x + 1
g = x^3 + 3x + 1

@test compose(g, f) == f(g(x))
@test compose(g, f) == x^6+6*x^4+4*x^3+9*x^2+12*x+4
end

Expand Down
1 change: 0 additions & 1 deletion test/arb/arb_poly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ end
f = x^2 + 2x + 1
g = x^3 + 3x + 1

@test compose(g, f) == f(g(x))
@test compose(g, f) == x^6+6*x^4+4*x^3+9*x^2+12*x+4
end

Expand Down
2 changes: 1 addition & 1 deletion test/flint/fmpq_poly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ end
f = 7y^2 + 12y + 3
g = 11y + 9

@test compose(g, f) == f(g(x))
@test compose(g, f) == f(g(y))
@test compose(g, f) == 847*y^2 + 1518*y + 678
end

Expand Down
2 changes: 1 addition & 1 deletion test/flint/fq_default_poly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ end
f = x*y^2 + (x + 1)*y + 3
g = (x + 1)*y + (x^3 + 2x + 2)

@test compose(g, f) == f(g(x))
@test compose(g, f) == f(g(y))
@test compose(g, f) == (x^3+2*x^2+x)*y^2+(2*x^5+2*x^4+4*x^3+9*x^2+6*x+1)*y+(x^7+4*x^5+5*x^4+5*x^3+10*x^2+8*x+5)
end

Expand Down
2 changes: 1 addition & 1 deletion test/flint/fq_nmod_poly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ end
f = x*y^2 + (x + 1)*y + 3
g = (x + 1)*y + (x^3 + 2x + 2)

@test compose(g, f) == f(g(x))
@test compose(g, f) == f(g(y))
@test compose(g, f) == (x^3+2*x^2+x)*y^2+(2*x^5+2*x^4+4*x^3+9*x^2+6*x+1)*y+(x^7+4*x^5+5*x^4+5*x^3+10*x^2+8*x+5)
end

Expand Down
2 changes: 1 addition & 1 deletion test/flint/fq_poly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ end
f = x*y^2 + (x + 1)*y + 3
g = (x + 1)*y + (x^3 + 2x + 2)

@test compose(g, f) == f(g(x))
@test compose(g, f) == f(g(y))
@test compose(g, f) == (x^3+2*x^2+x)*y^2+(2*x^5+2*x^4+4*x^3+9*x^2+6*x+1)*y+(x^7+4*x^5+5*x^4+5*x^3+10*x^2+8*x+5)
end

Expand Down

0 comments on commit 0a29061

Please sign in to comment.