| 
									
										
										
										
											2024-05-17 06:29:00 -04:00
										 |  |  | """
 | 
					
						
							|  |  |  | Author: Louis M | 
					
						
							|  |  |  | Date: Thu, 18 Apr 2024 18:45:56 +0000 | 
					
						
							|  |  |  | Description: Unit test used to test accessibility of locations with and without the dual song | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-27 08:51:27 +02:00
										 |  |  | from . import AquariaTestBase | 
					
						
							| 
									
										
										
										
											2024-12-08 20:18:00 -05:00
										 |  |  | from ..Items import ItemNames | 
					
						
							|  |  |  | from ..Locations import AquariaLocationNames | 
					
						
							|  |  |  | from ..Options import TurtleRandomizer | 
					
						
							| 
									
										
										
										
											2024-05-17 06:29:00 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class LiAccessTest(AquariaTestBase): | 
					
						
							|  |  |  |     """Unit test used to test accessibility of locations with and without the dual song""" | 
					
						
							|  |  |  |     options = { | 
					
						
							| 
									
										
										
										
											2024-12-08 20:18:00 -05:00
										 |  |  |         "turtle_randomizer": TurtleRandomizer.option_all, | 
					
						
							| 
									
										
										
										
											2024-05-17 06:29:00 -04:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def test_li_song_location(self) -> None: | 
					
						
							|  |  |  |         """Test locations that require the dual song""" | 
					
						
							|  |  |  |         locations = [ | 
					
						
							| 
									
										
										
										
											2024-12-08 20:18:00 -05:00
										 |  |  |             AquariaLocationNames.THE_BODY_BOTTOM_AREA_BULB_IN_THE_JELLY_ZAP_ROOM, | 
					
						
							|  |  |  |             AquariaLocationNames.THE_BODY_BOTTOM_AREA_BULB_IN_THE_NAUTILUS_ROOM, | 
					
						
							|  |  |  |             AquariaLocationNames.THE_BODY_BOTTOM_AREA_MUTANT_COSTUME, | 
					
						
							|  |  |  |             AquariaLocationNames.FINAL_BOSS_AREA_BULB_IN_THE_BOSS_THIRD_FORM_ROOM, | 
					
						
							|  |  |  |             AquariaLocationNames.OBJECTIVE_COMPLETE | 
					
						
							| 
									
										
										
										
											2024-05-17 06:29:00 -04:00
										 |  |  |         ] | 
					
						
							| 
									
										
										
										
											2024-12-08 20:18:00 -05:00
										 |  |  |         items = [[ItemNames.DUAL_FORM]] | 
					
						
							| 
									
										
										
										
											2024-05-17 06:29:00 -04:00
										 |  |  |         self.assertAccessDependency(locations, items) |