Skip to content

Commit

Permalink
Add rop test
Browse files Browse the repository at this point in the history
  • Loading branch information
hwpang committed Feb 17, 2024
1 parent 6957591 commit 93d9aed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/TestReactors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ using DataFrames
save(sim, "test.csv")
@test isfile("test.csv")

ropmat = rops(sim, "H2", 20.44002454)
@test ropmat[1] -5.304207075533127e-13 rtol = 1e-4

spcnames = getfield.(ig.species, :name)
h2ind = findfirst(isequal("H2"), spcnames)
o2ind = findfirst(isequal("O2"), spcnames)
Expand Down

0 comments on commit 93d9aed

Please sign in to comment.