Commit fcb3d958 authored by Victor's avatar Victor
Browse files

all tests pass

parent 8cbd6ee3
Pipeline #93052 failed with stage
in 20 minutes and 28 seconds
......@@ -102,7 +102,7 @@ w0 = World(myagents,evolspace,p) # the initial world, defined at time 0.
Simulation time, and callback function
```
tend = 200
tend = 500
t_saving_cb = collect(range(0.,tend,length=300))
cb() = Dict("N" => size(w))
```
......@@ -122,7 +122,7 @@ sim = run!(w0,
### Plotting
```julia
using Plots
plot(sim.tspan, sim["popsize"])
plot(sim.tspan, sim["N"])
```
![](docs/src/assets/tutorials/delta_comp_wsize.png)
......
b(X,t) = gaussian(X[1],0.,sigma_K)
d(X,Y,t) = gaussian(X[1],Y[1],sigma_a)/K0
p = Dict{String,Any}();@pack! p = d,b
@testset "Utils" begin
b(X,t) = gaussian(X[1],0.,sigma_K)
d(X,Y,t) = gaussian(X[1],Y[1],sigma_a)/K0
@test numargs(d) == 3
@test numargs(b) == 2
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment