Skip to content

Commit

Permalink
Update GCFM test by adding two agents
Browse files Browse the repository at this point in the history
  • Loading branch information
chraibi committed Jan 17, 2025
1 parent 3022bcd commit 0a39ffb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions systemtest/test_model_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,14 @@ def test_set_model_parameters_generalized_centrifugal_force_model(
stage_id=wp,
position=(1, 1),
)
agent2 = jps.GeneralizedCentrifugalForceModelAgentParameters(
journey_id=journey_id,
stage_id=wp,
position=(3, 1),
)

agent_id = sim.add_agent(agent)
agent_id2 = sim.add_agent(agent2)

sim.agent(agent_id).model.speed = 2.0
assert sim.agent(agent_id).model.speed == 2.0
Expand Down

0 comments on commit 0a39ffb

Please sign in to comment.