Since our Version 2.0 is almost done we need to ensure that our methods are working fine before we can start to study how changes in the parameters effect the behavior of the agents.
We need one test file that checks if method deposit_pheromone, move and get_pheromone_value_at are working correct.
please make sure that in your code version all parameters that are used are given to the function and that you give them a value within your testfunction, because otherwise the test will raise an error if we make some adjustments in the config file.
to simplify the process for you here are the imports you need:
import numpy as np
from slime_mold_simulation.simulation import METHOD HERE
from slime_mold_simulation.config import ALL NEEDED Config Variables
those tests should check if each of the methods calculate the coordinates correctly. I put them together in this issue since they work with almost the same logic, so if one test is written it can be adjusted easily for the others. Watch out each of those methods have diffrent in- and outputs
Since our Version 2.0 is almost done we need to ensure that our methods are working fine before we can start to study how changes in the parameters effect the behavior of the agents.
We need one test file that checks if method deposit_pheromone, move and get_pheromone_value_at are working correct.
please make sure that in your code version all parameters that are used are given to the function and that you give them a value within your testfunction, because otherwise the test will raise an error if we make some adjustments in the config file.
to simplify the process for you here are the imports you need: import numpy as np from slime_mold_simulation.simulation import METHOD HERE from slime_mold_simulation.config import ALL NEEDED Config Variables
those tests should check if each of the methods calculate the coordinates correctly. I put them together in this issue since they work with almost the same logic, so if one test is written it can be adjusted easily for the others. Watch out each of those methods have diffrent in- and outputs