Skip to content

Commit

Permalink
Merge 0f63d7b into 1dfe4aa
Browse files Browse the repository at this point in the history
  • Loading branch information
zlatanvasovic committed Aug 6, 2020
2 parents 1dfe4aa + 0f63d7b commit 20eea42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ rxs = [Reaction(k1*S, [S,I], [I], [2,3], [2]),
rs = ReactionSystem(rxs, t, [S,I,R], [k1,k2])
deps = [s.op for s in dependents(rxs[2], rs)]
@test isequal(deps, [R.op,I.op])
@test isequal(dependents(rxs[1], rs), dependants(rxs[1], rs))
addspecies!(rs, Variable(:S))
@test numspecies(rs) == 3
addspecies!(rs, Variable(:S), disablechecks=true)
Expand Down

0 comments on commit 20eea42

Please sign in to comment.