File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 162162 @test repr (- (a + b)) == " -a - b"
163163 @test repr ((2 a)^ (- 2 a)) == " (2a)^(-2a)"
164164 @test repr (1 / 2 a) == " 1 / (2a)"
165- @test repr (2 / (2 * a)) == " 2 / (2a) "
165+ @test repr (2 / (2 * a)) == " 1 / a "
166166 @test repr (Term (* , [1 , 1 ])) == " 1"
167167 @test repr (Term (* , [2 , 1 ])) == " 2*1"
168168 @test repr ((a + b) - (b + c)) == " a - c"
233233 @test (2 x/ 3 y). num. coeff == 2
234234 @test (2 x/ 3 y). den. coeff == 3
235235 @test (2 x/- 3 x). num. coeff == - 2
236- @test (2 x/- t3x ). den. coeff == 3
236+ @test (2 x/- 3 x ). den. coeff == 3
237237 @test (2.5 x/ 3 x). num. coeff == 2.5
238238 @test (2.5 x/ 3 x). den. coeff == 3
239239 @test (x/ 3 x). den. coeff == 3
Original file line number Diff line number Diff 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+ 4 z+ 1 )) /
1111 (y* (2 x - 3 y + 3 z) +
12- x* (x + z)))) == " ( 1 + x + 4z) / (x + 3.0y)"
12+ x* (x + z)))) == repr ( simplify_fractions (( 1 + x + 4 z) / (x + 3.0 y)))
1313 @test simplify_fractions (x/ (x+ 3 ) + 3 / (x+ 3 )) == 1
1414 @test repr (simplify (simplify_fractions (cos (x)/ sin (x) + sin (x)/ cos (x)))) == " 1 / (cos(x)*sin(x))"
1515end
You can’t perform that action at this time.
0 commit comments