JuliaDynamics / Agents.jl

Agent-based modeling framework in Julia
https://juliadynamics.github.io/Agents.jl/stable/
MIT License
725 stars 117 forks source link

A first attempt to test visualization code #888

Closed Tortar closed 11 months ago

Tortar commented 11 months ago

This is very rough, but at least we have something, so in my opinion it is nonetheless a good thing. Partially address #864

Notice that I needed to change "Zombie" in "Zombiee" in jld2tests.jl because it conflicted with the "Zombie" in the examples folder. This is caused by the current design of the agent macro which always evaluates the quote at the module scope. We should fix this

codecov-commenter commented 11 months ago

Codecov Report

Merging #888 (f2b977b) into main (e1e58a7) will increase coverage by 19.72%. Report is 1 commits behind head on main. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main     #888       +/-   ##
===========================================
+ Coverage   72.72%   92.45%   +19.72%     
===========================================
  Files          42       32       -10     
  Lines        2871     2319      -552     
===========================================
+ Hits         2088     2144       +56     
+ Misses        783      175      -608     
Files Changed Coverage Δ
src/core/model_abstract.jl 90.76% <100.00%> (ø)

... and 12 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Tortar commented 11 months ago

As expected we got a big boost in coverage

Tortar commented 11 months ago

Actually now the boost is even better :D