Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lifeware
biocham
Commits
4ff091bc
Commit
4ff091bc
authored
Nov 25, 2019
by
HEMERY Mathieu
Browse files
Update test for revision, still a legitimare ERROR occurs
parent
0c49df1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
revision.plt
View file @
4ff091bc
...
...
@@ -21,7 +21,7 @@ test(
'revise_model rule addition for ECTL',
[
setup(clear_model),
all(Reactions = [[
'_' => b], [a => b], ['_' =[a]=> b
]])
all(Reactions = [[
('MA'(1) for '_'=>b)],[('MA'(1) for a=>b)],[('MA'(1) for a=>b+a)
]])
]
) :-
command(present(a)),
...
...
@@ -32,7 +32,7 @@ test(
'revise_model rule addition for UCTL',
[
setup(clear_model),
all(Reactions = [[
a => b
]])
all(Reactions = [[
('MA'(1)for a=>b)
]])
]
) :-
command(present(a)),
...
...
@@ -54,7 +54,7 @@ test(
'revise_model rule deletion (from counter-example) for ACTL',
[
setup(clear_model),
all((Added, Removed) = [([],
[a => b
])])
all((Added, Removed) = [([],
[('MA'(1)for a=>b)
])])
]
) :-
command(present(a)),
...
...
@@ -68,9 +68,7 @@ test(
[
setup(clear_model),
all((Added, Removed) =
[([], [
'_'=>'_', '_'=>a, a=>'_', '_'=[a]=>'_', a=>b, b=>'_', b=>a, a+b=>'_',
b=[a]=>'_', a=[b]=>'_'])])
[([],[('MA'(1)for'_'=>'_'),('MA'(1)for'_'=>a),('MA'(1)for a=>'_'),('MA'(1)for a=>a),('MA'(1)for a=>b),('MA'(1)for a=>b+a),('MA'(1)for b=>'_'),('MA'(1)for b=>a),('MA'(1)for b=>a+b),('MA'(1)for a+b=>'_'),('MA'(1)for b+a=>a),('MA'(1)for a+b=>b)])]
]
) :-
command(add_reaction('_' => '_')),
...
...
@@ -113,8 +111,8 @@ test(
Removed
)
),
assertion(Added = [
c=[a]=>'_', a=[b]=>'_', b=[c]=>'_'
]),
assertion(Removed = [
a=>'_', b=>'_',
c=>
'_'
]).
assertion(Added = [
'MA'(1) for c+a=>a,'MA'(1) for a+b=>b,'MA'(1) for b+c=>c
]),
assertion(Removed = [
'MA'(1) for a=>_,'MA'(1) for b=>_,'MA'(1) for
c=>
_
]).
test(
'Qu1',
...
...
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