Commit c50afcfd authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain

slow tests are slow

parent e8016f7f
......@@ -104,6 +104,7 @@ test(
test(
'search_conservations',
[
condition(flag(slow_test, true, true)),
true(InvarNumber = 9)
]
) :-
......
:- use_module(library(plunit)).
:- begin_tests(gsl).
:- begin_tests(gsl, [condition(flag(slow_test, true, true))]).
test('van_der_pol', [condition(flag(slow_test, true, true))]) :-
test('van_der_pol') :-
Options = [
fields: ['Time': t, 'x0': x(0), 'x1': x(1)],
equations: [[1], -[0] + p(0) * [1] * (1 - [0] ^ 2)],
......
......@@ -3,6 +3,7 @@
:- begin_tests(
multistability,
[
condition(flag(slow_test, true, true)),
setup(load('library:biomodels/BIOMD0000000040.xml')),
cleanup(clear_model)
]
......
......@@ -13,8 +13,9 @@ test('events') :-
command('MA'(k) for a => b),
command(parameter(k = 1)),
command(add_event(b > 0.5, k = 0)),
command(add_event('Time' > 1, k = 0)),
command(present(a)),
numerical_simulation.
command(numerical_simulation(time: 2)).
test('conditional') :-
clear_model,
......
......@@ -3,7 +3,10 @@
:- use_module(reaction_rules).
:- use_module(influence_rules).
:- begin_tests(qual_files).
:- begin_tests(
qual_files,
[condition(flag(slow_test, true, true))]
).
% FIXME no unit test, only one integration test, could be better
test(
......
......@@ -3,7 +3,6 @@
:- use_module(reaction_rules).
:- begin_tests(reduce).
% condition(flag(slow_test, true, true)),
test(
'reduce_3_inhibitions',
......@@ -28,6 +27,7 @@ test(
test(
'reduce_Qu1',
[
condition(flag(slow_test, true, true)),
setup(clear_model)
]
) :-
......@@ -44,6 +44,7 @@ test(
test(
'reduce_Qu2',
[
condition(flag(slow_test, true, true)),
setup(clear_model)
]
) :-
......
......@@ -5,16 +5,21 @@
:- use_module(reaction_rules).
:- begin_tests(sbml_files).
:- begin_tests(
sbml_files,
[condition(flag(slow_test, true, true))]
).
test(
'load_sbml_reactions',
[true(Reactions = [
[
true(Reactions = [
kf_0*'B' for 'B' => 'BL',
kr_0*'BL' for 'BL' => 'B',
kf_1*'BL' for 'BL' => 'BLL',
kr_1*'BLL' for 'BLL' => 'BL' | _ ])]
kr_1*'BLL' for 'BLL' => 'BL' | _ ])
]
) :-
load('library:biomodels/BIOMD0000000001.xml'),
all_items([kind: reaction], Reactions).
......
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