From 4135334c63ba00453443760454045bbeb6ab31ce Mon Sep 17 00:00:00 2001 From: "Felipe S. S. Schneider" <37125+schneiderfelipe@users.noreply.github.com> Date: Wed, 29 May 2024 14:11:56 -0300 Subject: [PATCH] test(tests/test_simulate.py): add more cases for some Michaelis-Menten model tests (#618) This adds more "extreme" edge cases for both the simple and the "consuming" Michaelis-Menten model tests --- tests/test_simulate.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_simulate.py b/tests/test_simulate.py index 8acce270..d71bea19 100644 --- a/tests/test_simulate.py +++ b/tests/test_simulate.py @@ -116,9 +116,9 @@ def test_get_y_conservation_in_equilibria() -> None: (cat0, sub0, keq, kcat, method) for cat0 in [0.3, 0.4] for sub0 in [0.01, 0.02] - for keq in [10.0, 100.0] - for kcat in [1e10, 1e11] - for method in ("RK23", "LSODA") + for keq in [1.0, 10.0, 100.0] + for kcat in [1e-1, 1e1, 1e10, 1e11, 1e13] + for method in ("RK23", "LSODA", "Radau", "BDF") ], ) def test_simple_michaelis_menten( @@ -164,9 +164,9 @@ def test_simple_michaelis_menten( (cat0, sub0, keq, kcat, method) for cat0 in [0.3, 0.4] for sub0 in [0.01, 0.02] - for keq in [10.0, 100.0] - for kcat in [1e10, 1e11] - for method in ("RK23", "LSODA") + for keq in [1.0, 10.0, 100.0] + for kcat in [1e-1, 1e1, 1e10, 1e11, 1e13] + for method in ("RK23", "LSODA", "Radau", "BDF") ], ) def test_consuming_michaelis_menten(