Skip to content

Commit a165085

Browse files
committed
Test that file is saved
1 parent e8cb30f commit a165085

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/TestReactors.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ domain,y0,p = ConstantTPDomain(phase=ig,initialconds=initialconds) #Define the d
195195
react = Reactor(domain,y0,(0.0,150.11094);p=p) #Create the reactor object
196196
sol = solve(react.ode,CVODE_BDF(),abstol=1e-20,reltol=1e-12); #solve the ode associated with the reactor
197197
sim = Simulation(sol,domain);
198+
save(sim, "test.csv")
199+
@test isfile("test.csv")
198200

199201
spcnames = getfield.(ig.species,:name)
200202
h2ind = findfirst(isequal("H2"),spcnames)

0 commit comments

Comments
 (0)