Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
SBML.jl
Commits
fba1a4fb
Commit
fba1a4fb
authored
Jul 19, 2021
by
Miroslav Kratochvil
🚴
Browse files
test the relops on sbml00191
parent
61ae670d
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/loadmodels.jl
View file @
fba1a4fb
...
...
@@ -56,6 +56,14 @@ sbmlfiles = [
0
,
0
,
),
# this contains a relational operator
(
joinpath
(
@__DIR__
,
"data"
,
"sbml00191.xml"
),
"https://raw.githubusercontent.com/sbmlteam/sbml-test-suite/master/cases/semantic/00191/00191-sbml-l3v2.xml"
,
"c474e94888767d70f9e9e03b32778f18069641563953de60dabac7daa7f481ce"
,
4
,
2
,
),
]
@testset
"Loading of models from various sources"
begin
...
...
@@ -163,3 +171,10 @@ end
@test
test_math
.
args
[
2
]
.
fn
==
"sin"
@test
test_math
.
args
[
2
]
.
args
[
1
]
.
val
==
2.1
end
@testset
"relational operators are decoded correctly"
begin
test_math
=
readSBML
(
joinpath
(
@__DIR__
,
"data"
,
"sbml00191.xml"
))
.
reactions
[
"reaction2"
]
.
kinetic_math
@test
test_math
.
args
[
2
]
.
fn
==
"geq"
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment