Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit 4ff091bc authored by HEMERY Mathieu's avatar HEMERY Mathieu
Browse files

Update test for revision, still a legitimare ERROR occurs

parent 0c49df1a
......@@ -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',
......
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