File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- workspace ()
2-
31using SimJulia
42using ResumableFunctions
53
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ for test_file in [
1111 " coroutines.jl" ,
1212 " containers.jl" ,
1313 " stores.jl" ,
14- " continuous.jl" ,]
14+ " continuous.jl" ,
15+ ]
1516 include (testpath (test_file))
1617end
Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ catch exc
2121 println (" $exc has been thrown!" )
2222end
2323sim = Simulation (3 )
24- start = now (sim)
24+ start_time = now (sim)
2525@callback test_callback (Timeout (sim, 1 ))
26- run (sim, start + 2 )
27- println (now (sim)- start )
26+ run (sim, start_time + 2 )
27+ println (now (sim)- start_time )
2828sim = Simulation ()
29- start = now (sim)
29+ start_time = now (sim)
3030ev = Event (sim)
3131@callback test_callback_exception (ev)
3232succeed (ev)
3333try
3434 run (sim)
3535catch exc
36- println (" $exc has been thrown after $(now (sim)- start ) !" )
36+ println (" $exc has been thrown after $(now (sim)- start_time ) !" )
3737end
You can’t perform that action at this time.
0 commit comments