JuliaDynamics / Agents.jl

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

implemented swap_agents! function #876

Closed Jay-sanjay closed 12 months ago

Jay-sanjay commented 12 months ago

Added the swap_agents!() function issue #849 fixing.

Test-cases needs to be added

codecov-commenter commented 12 months ago

Codecov Report

Merging #876 (7866bee) into main (f21211b) will increase coverage by 0.63%. Report is 2 commits behind head on main. The diff coverage is 100.00%.

:exclamation: Current head 7866bee differs from pull request most recent head 17e1c3c. Consider uploading reports for the commit 17e1c3c to get more accurate results

@@            Coverage Diff             @@
##             main     #876      +/-   ##
==========================================
+ Coverage   71.88%   72.52%   +0.63%     
==========================================
  Files          42       42              
  Lines        2746     2839      +93     
==========================================
+ Hits         1974     2059      +85     
- Misses        772      780       +8     
Files Changed Coverage Δ
src/spaces/discrete.jl 98.87% <100.00%> (+0.09%) :arrow_up:

... and 10 files with indirect coverage changes

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

Tortar commented 12 months ago

Hi @Jay-sanjay the PR only need some tests to be merged :-)

Jay-sanjay commented 12 months ago

@Tortar sir please do tell if you have any feedbacks on the test cases .

Tortar commented 12 months ago

thanks for this @Jay-sanjay and @digital-carver !