-
Notifications
You must be signed in to change notification settings - Fork 901
Tests: check that Regions are reachable #1034
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
Conversation
try to prevent errors from unconnected/never reachable Regions
b8944a9
to
e0d794c
Compare
* Tests: note oot's default unreachable regions
* [SM] Fixed failing testAllStateCanReachEverything - by adding exclusion for Regions used only when corresponding Starting Location is used - by removing unnecessary VARIA Regions used only for EscapeRando (not supported in AP anyway) * Update worlds/sm/Regions.py Co-authored-by: black-sliver <[email protected]> * Update worlds/sm/Rules.py Co-authored-by: black-sliver <[email protected]> * Update worlds/sm/Regions.py Co-authored-by: black-sliver <[email protected]> Co-authored-by: black-sliver <[email protected]>
As of latest, I believe SA2 should be compatible with these new unit tests. If we introduced new failures with our new content, I'll adjust. |
I'll see to adjusting SMW this weekend. |
i though we where just going to exclude Timespinner, since its correct with all items collected. depending on your flags entire regions will still be locked off |
Timespinners issues should be resolved in #1433 |
* Tests: check that Regions are reachable try to prevent errors from unconnected/never reachable Regions * Test region access (ArchipelagoMW#1039) * Tests: note oot's default unreachable regions * [SM] Fixed failing testAllStateCanReachEverything (ArchipelagoMW#1087) * [SM] Fixed failing testAllStateCanReachEverything - by adding exclusion for Regions used only when corresponding Starting Location is used - by removing unnecessary VARIA Regions used only for EscapeRando (not supported in AP anyway) * Update worlds/sm/Regions.py Co-authored-by: black-sliver <[email protected]> * Update worlds/sm/Rules.py Co-authored-by: black-sliver <[email protected]> * Update worlds/sm/Regions.py Co-authored-by: black-sliver <[email protected]> Co-authored-by: black-sliver <[email protected]> * Update test/general/TestReachability.py --------- Co-authored-by: espeon65536 <[email protected]> Co-authored-by: lordlou <[email protected]> Co-authored-by: black-sliver <[email protected]>
try to prevent errors from unconnected/never reachable Regions
Please format your title with what portion of the project this pull request is
targeting and what it's changing.
ex. "MyGame4: implement new game" or "Docs: add new guide for customizing MyGame3"
What is this fixing or adding?
So, not 100% on if we should actually do this, but at least @PoryGone has indicated it might have saved them some time if this existed. It checks that all Regions are reachable by all-state, with an explicit exclusion list.
How was this tested?
running it
If this makes graphical changes, please attach screenshots.