File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222from arrow import reenact_events , StochasticSystem
2323from arrow import GillespieReference
2424
25- def test_equilibration ():
25+ def check_equilibration ():
2626 stoichiometric_matrix = np .array ([
2727 [0 , - 1 ],
2828 [+ 1 , - 1 ],
@@ -46,7 +46,11 @@ def test_equilibration():
4646 return (time , counts , events )
4747
4848
49- def test_dimerization ():
49+ def test_equilibration ():
50+ check_equilibration ()
51+
52+
53+ def check_dimerization ():
5054 stoichiometric_matrix = np .array ([
5155 [1 , 1 , - 1 , 0 ],
5256 [- 2 , 0 , 0 , 1 ],
@@ -69,6 +73,10 @@ def test_dimerization():
6973 return (time , counts , events )
7074
7175
76+ def test_dimerization ():
77+ check_dimerization ()
78+
79+
7280def load_complexation (prefix = 'simple' ):
7381 fixtures_root = os .path .join ('data' , 'complexation' )
7482
@@ -302,8 +310,8 @@ def test_get_set_random_state():
302310
303311def main (args ):
304312 systems = (
305- test_equilibration ,
306- test_dimerization ,
313+ check_equilibration ,
314+ check_dimerization ,
307315 lambda : complexation_test (StochasticSystem ),
308316 lambda : complexation_test (GillespieReference ))
309317
You can’t perform that action at this time.
0 commit comments