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 rotate_towards_sensor_simple,rotate_towards_sensor_upgrade and rank_pheromone_values 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
the test file shoud check, if the agents angle is updated correctly to the sensor that detects the highest pheromone value.
I put those three methods together in this issue since rotate_towards_sensor_simple should have the same output as
the both methods rank_pheromone_values & rotate_towards_sensor_upgrade together if called after each other.
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 rotate_towards_sensor_simple,rotate_towards_sensor_upgrade and rank_pheromone_values 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
the test file shoud check, if the agents angle is updated correctly to the sensor that detects the highest pheromone value. I put those three methods together in this issue since rotate_towards_sensor_simple should have the same output as the both methods rank_pheromone_values & rotate_towards_sensor_upgrade together if called after each other.