Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasAlegre committed May 7, 2024
1 parent 22a2222 commit a691713
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/gym_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def test_api():
"sumo-rl-v0",
num_seconds=100,
use_gui=False,
net_file="nets/single-intersection/single-intersection.net.xml",
route_file="nets/single-intersection/single-intersection.rou.xml",
net_file="sumo_rl/nets/single-intersection/single-intersection.net.xml",
route_file="sumo_rl/nets/single-intersection/single-intersection.rou.xml",
)
env.reset()
check_env(env.unwrapped, skip_render_check=True)
Expand Down
8 changes: 4 additions & 4 deletions tests/pz_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

def test_api():
env = sumo_rl.env(
net_file="nets/4x4-Lucas/4x4.net.xml",
route_file="nets/4x4-Lucas/4x4c1c2c1c2.rou.xml",
net_file="sumo_rl/nets/4x4-Lucas/4x4.net.xml",
route_file="sumo_rl/nets/4x4-Lucas/4x4c1c2c1c2.rou.xml",
out_csv_name="outputs/4x4grid/test",
use_gui=False,
num_seconds=100,
Expand All @@ -17,8 +17,8 @@ def test_api():

def test_parallel_api():
env = sumo_rl.parallel_env(
net_file="nets/4x4-Lucas/4x4.net.xml",
route_file="nets/4x4-Lucas/4x4c1c2c1c2.rou.xml",
net_file="sumo_rl/nets/4x4-Lucas/4x4.net.xml",
route_file="sumo_rl/nets/4x4-Lucas/4x4c1c2c1c2.rou.xml",
out_csv_name="outputs/4x4grid/test",
use_gui=False,
num_seconds=100,
Expand Down

0 comments on commit a691713

Please sign in to comment.