Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
TorkelE committed Nov 14, 2023
1 parent 2e2764e commit 5d45e68
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/extensions/structural_identifiability.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ let
ifs_3 = find_identifiable_functions(goodwind_oscillator_si)

# Check outputs.
sym_dict(gi_1) == sym_dict(gi_2) == sym_dict(gi_3)
sym_dict(li_1) == sym_dict(li_2) == sym_dict(li_3)
length(ifs_1) == length(ifs_2) == length(ifs_3)
@test sym_dict(gi_1) == sym_dict(gi_2) == sym_dict(gi_3)
@test sym_dict(li_1) == sym_dict(li_2) == sym_dict(li_3)
@test length(ifs_1) == length(ifs_2) == length(ifs_3)
end

# Tests on a made-up reaction network with mix of identifiable and non-identifiable components.
Expand Down Expand Up @@ -92,9 +92,9 @@ let
ifs_3 = find_identifiable_functions(rs_si)

# Check outputs.
sym_dict(gi_1) == sym_dict(gi_2) == sym_dict(gi_3)
sym_dict(li_1) == sym_dict(li_2) == sym_dict(li_3)
length(ifs_1) == length(ifs_2) == length(ifs_3)
@test sym_dict(gi_1) == sym_dict(gi_2) == sym_dict(gi_3)
@test sym_dict(li_1) == sym_dict(li_2) == sym_dict(li_3)
@test length(ifs_1) == length(ifs_2) == length(ifs_3)
end

# Tests on a made-up reaction network with mix of identifiable and non-identifiable components.
Expand Down Expand Up @@ -141,9 +141,9 @@ let
ifs_3 = find_identifiable_functions(rs_si)

# Check outputs.
sym_dict(gi_1) == sym_dict(gi_2) == sym_dict(gi_3)
sym_dict(li_1) == sym_dict(li_2) == sym_dict(li_3)
length(ifs_1) == length(ifs_2) == length(ifs_3)
@test sym_dict(gi_1) == sym_dict(gi_2) == sym_dict(gi_3)
@test sym_dict(li_1) == sym_dict(li_2) == sym_dict(li_3)
@test length(ifs_1) == length(ifs_2) == length(ifs_3)
end

# Tests that various inputs types work.
Expand Down

0 comments on commit 5d45e68

Please sign in to comment.