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

corrected env observation test

parent c4c98da9
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ def test_global_obs():
# If this assertion is wrong, it means that the observation returned
# places the agent on an empty cell
assert(np.sum(rail_map * global_obs[0][1][:, :, 0]) > 0)
assert(np.sum(rail_map * global_obs[0][1][:, :, :4].sum(2)) > 0)
def main():
......
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