Skip to content
Snippets Groups Projects
Commit b12af97a authored by hagrid67's avatar hagrid67
Browse files

fix numpy random seed in tests and update frozen images

parent 0e7102b3
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -36,6 +36,7 @@ def checkFrozenImage(sFileImage):
def test_render_env():
random.seed(100)
np.random.seed(100)
oEnv = RailEnv(width=10, height=10, rail_generator=random_rail_generator(), number_of_agents=2)
oEnv.reset()
oRT = rt.RenderTool(oEnv)
......
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