Skip to content

Commit ef3be31

Browse files
committed
fold after substitute test
1 parent ab41033 commit ef3be31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/basics.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ end
101101
@syms a b
102102
@test substitute(a, Dict(a=>1)) == 1
103103
@test isequal(substitute(sin(a+b), Dict(a=>1)), sin(1+b))
104-
@test substitute(a+b, Dict(a=>1, b=>3)) |> simplify == 4
104+
@test substitute(a+b, Dict(a=>1, b=>3)) == 4
105+
@test substitute(exp(a), Dict(a=>2)) exp(2)
105106
end
106107

107108
@testset "printing" begin

0 commit comments

Comments
 (0)