We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84784ff commit 40fdae6Copy full SHA for 40fdae6
test/nf.jl
@@ -0,0 +1,8 @@
1
+using SymbolicUtils, Test
2
+@testset "polyform" begin
3
+ @syms a b c d
4
+ @test simplify(a * (b + -1 * c) + -1 * (b * a + -1 * c * a), mpoly=true) == 0
5
+ @eqtest simplify(sin((a+b)^2)^2; mpoly=true) == sin(a^2+b^2+2*a*b)^2
6
+ # fixme: can this be made faster?
7
+ @test simplify(sin((a+b)^2)^2 + cos((a+b)^2)^2; mpoly=true) == 1
8
+end
test/runtests.jl
@@ -18,6 +18,7 @@ include("basics.jl")
18
include("order.jl")
19
include("rewrite.jl")
20
include("rulesets.jl")
21
+include("nf.jl")
22
include("interface.jl")
23
include("fuzz.jl")
24
if haskey(ENV, "TRAVIS")
0 commit comments