Commit 2a825add authored by paulflang's avatar paulflang
Browse files

insert blank first line

parent bc73ca63
@register Base.factorial(x) # Todo: remove this line once factorial is registered per default @register Base.factorial(x) # Todo: remove this line once factorial is registered per default
function parse_piecewise(val, cond, other) function parse_piecewise(val, cond, other)
......
@testset "Math to Symbolics conversions" begin
A = Symbolics.Variable(Symbol("A"))
B = Symbolics.Variable(Symbol("B"))
C = Symbolics.Variable(Symbol("C"))
D = Symbolics.Variable(Symbol("D"))
E = Symbolics.Variable(Symbol("E"))
test = SBML.MathApply("*", SBML.Math[
SBML.MathApply("+", SBML.Math[
SBML.MathApply("*", SBML.Math[
SBML.MathIdent("A"),
SBML.MathIdent("B")]),
SBML.MathApply("-", SBML.Math[
SBML.MathApply("*", SBML.Math[
SBML.MathIdent("C"),
SBML.MathIdent("D")])])]),
SBML.MathIdent("E")])
expr_true = (A*B - C*D) * E
ex = convert(Num,test)
@test isequal(convert(Num,test), expr_true)
end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment