Skip to content
Snippets Groups Projects
Commit 3a701d17 authored by gmollard's avatar gmollard
Browse files

Merge branch 'test_rail_env' into 'master'

Simple test for environment consistency

See merge request flatland/flatland!3
parents 7fb24914 c25656ee
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ def test_rail_environment_single_agent():
assert(initial_pos[0] == rail_env.agents_position[0][0])
# We check that the train always attains its target after some time
for _ in range(200):
for _ in range(10):
_ = rail_env.reset()
done = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment