Skip to content

Commit 7737865

Browse files
committed
add a test
1 parent 13f9ef5 commit 7737865

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/polyform.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ end
6363
##404#issuecomment-939404030
6464
a = 1 / (x - (2//1)) + ((-5//1) - x) / ((x - (2//1))^2)
6565
@test isequal(simplify_fractions(a), -7/(x-2)^2)
66+
67+
# https://github.com/JuliaSymbolics/Symbolics.jl/issues/968
68+
@eqtest simplify_fractions((x * y + (1//2) * x) / (2 * x)) == 1//4 * (1 + 2y)
6669
end
6770

6871
@testset "isone iszero" begin

0 commit comments

Comments
 (0)