From 5c22aebaa735c4a19c43bf80be173c66bae40cfb Mon Sep 17 00:00:00 2001 From: David Gustavsson Date: Mon, 10 Aug 2020 21:34:09 +0200 Subject: [PATCH] Fixed test --- test/StandardBasis.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/StandardBasis.jl b/test/StandardBasis.jl index 097d03ba..33880a0c 100644 --- a/test/StandardBasis.jl +++ b/test/StandardBasis.jl @@ -807,7 +807,7 @@ end @test printpoly_to_string(P([1,2,3], "y"), descending_powers = true) == "3*y^2 + 2*y + 1" @test printpoly_to_string(P([2, 3, 1], :z), descending_powers = true, offset = -2) == "1 + 3*z^-1 + 2*z^-2" @test printpoly_to_string(P([-1, 0, 1], :z), offset = -1, descending_powers = true) == "z - z^-1" - @test printpoly_to_string(P([complex(1,1),complex(1,-1)]),MIME"text/latex"()) == "(1 + 1i) + (1 - 1i)\\cdot x" + @test printpoly_to_string(P([complex(1,1),complex(1,-1)]),MIME"text/latex"()) == "1 + i + (1 - i)x" end end