Skip to content

Commit 529127c

Browse files
committed
parenthesize rational
1 parent 5ab9c63 commit 529127c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/polyform.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include("utils.jl")
99
@test repr(x/y*x/z) == "(x^2) / (y*z)"
1010
@test repr(simplify_fractions(((x-y+z)*(x+4z+1)) /
1111
(y*(2x - 3y + 3z) +
12-
x*(x + z)))) == repr(simplify_fractions((1 + x + 4z) / (x + 3//1y)))
12+
x*(x + z)))) == repr(simplify_fractions((1 + x + 4z) / (x + (3//1)y)))
1313
@test simplify_fractions( (1/x)^2 * x^2) == 1
1414
@test simplify_fractions(x/(x+3) + 3/(x+3)) == 1
1515
@test repr(simplify(simplify_fractions(cos(x)/sin(x) + sin(x)/cos(x)))) == "2 / sin(2x)"

0 commit comments

Comments
 (0)