We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c47146 commit 20083b7Copy full SHA for 20083b7
test/show.jl
@@ -3,7 +3,7 @@
3
@test sprint(show, (x*y^2 + x + 1 + y)) == "xy² + x + y + 1"
4
@test sprint(show, (x + 1 + y) / x^2) == "(x + y + 1) / (x²)"
5
@test sprint(show, (x - y - x + y) / (x^2 - x)) == "(0) / (x² - x)"
6
- @test sprint(show, CustomPoly(1 + x)) == "CustomPoly{Int64,DynamicPolynomials.Polynomial{true,Int64}}(x + 1)"
+ @test sprint(show, CustomPoly(1 + x)) == "CustomPoly{$Int,$(typeof(1 + x))}(x + 1)"
7
# Test taken from TypedPolynomials
8
@test sprint(show, x) == "x"
9
@test sprint(show, x^0) == "1"
0 commit comments