Skip to content

Commit

Permalink
refactor petab test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich committed Dec 6, 2024
1 parent 8c19f42 commit 2be3ef6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tests/petab_test_suite/test_petab_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,12 @@ def run():
n_skipped = 0
n_total = 0
for version in ("v1.0.0", "v2.0.0"):
for model_lang in ("cpp", "jax"):
cases = petabtests.get_cases(
"sbml", version=version, jax=model_lang == "jax"
)
for jax in (False, True):
cases = petabtests.get_cases("sbml", version=version)
n_total += len(cases)
for case in cases:
try:
test_case(
case, "sbml", version=version, jax=model_lang == "jax"
)
test_case(case, "sbml", version=version, jax=jax)
n_success += 1
except Skipped:
n_skipped += 1
Expand Down

0 comments on commit 2be3ef6

Please sign in to comment.