sheeprl icon indicating copy to clipboard operation
sheeprl copied to clipboard

Add Environment Wrapper Tests

Open michele-milesi opened this issue 1 year ago • 3 comments

It would be nice to add a test for the environment wrappers we have. Maybe, using the dummy envs, we could do a couple of iterations and check that the obs/action matches those defined by the observation/action space.

@belerico, @DavideTr8: What do you think?

michele-milesi avatar May 01 '24 20:05 michele-milesi

LGTM!

belerico avatar May 02 '24 12:05 belerico

Unittests are never enough

DavideTr8 avatar May 03 '24 07:05 DavideTr8

We can also test the environments without creating the expensive game underneath them by mocking the game creation and testing everything else

belerico avatar May 06 '24 07:05 belerico