-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Add test gym utils play. Fix #2729 #2743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jkterry1
merged 21 commits into
openai:master
from
gianlucadecola:add-test-gym-utils-play
Apr 18, 2022
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
87f34da
refactoring play function. Tests for keys to action mapping.
gianlucadecola 7982347
Add mocking pygame events.
gianlucadecola 2a73571
partial event processing in class.
gianlucadecola 02b81e5
pre-commit.
gianlucadecola 7c65be7
quit pygame after tests.
gianlucadecola 1b3485f
fix typos in functions names.
gianlucadecola 48d5f07
Add type hint.
gianlucadecola 3b9e08d
Add test for play function.
gianlucadecola 9a1d4b6
remove mockKeyEvent.
gianlucadecola a6a7cd9
remove unused main code.
gianlucadecola 42b5ead
Adding type hints.
gianlucadecola 7dabd13
catch custom exception in tests.
gianlucadecola 97fa4e9
Fix magic numbers.
gianlucadecola 808d0a1
Add test with an actual environment.
gianlucadecola bf4d2d8
fix comment.
gianlucadecola 52b37cc
Add TODO memo on env.render.
gianlucadecola 5a8f6a4
change map with list comprehension.
gianlucadecola b5aae1b
remove unused imports.
gianlucadecola e9d333b
Add type hint.
gianlucadecola b0081c2
typo.
gianlucadecola a02323c
docstring.
gianlucadecola File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix typos in functions names.
- Loading branch information
commit 1b3485fb272cdf3818d609118a7a10d28f6de7ed
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No magic numbers please