| 
									
										
										
										
											2024-05-17 06:29:00 -04:00
										 |  |  | """
 | 
					
						
							|  |  |  | Author: Louis M | 
					
						
							|  |  |  | Date: Fri, 03 May 2024 14:07:35 +0000 | 
					
						
							|  |  |  | Description: Unit test used to test accessibility of region with the home water confine via option | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-27 08:51:27 +02:00
										 |  |  | from . import AquariaTestBase | 
					
						
							| 
									
										
										
										
											2024-05-17 06:29:00 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class ConfinedHomeWaterAccessTest(AquariaTestBase): | 
					
						
							|  |  |  |     """Unit test used to test accessibility of region with the unconfine home water option disabled""" | 
					
						
							|  |  |  |     options = { | 
					
						
							|  |  |  |         "unconfine_home_water": 0, | 
					
						
							|  |  |  |         "early_energy_form": False | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def test_confine_home_water_location(self) -> None: | 
					
						
							|  |  |  |         """Test region accessible with confined home water""" | 
					
						
							| 
									
										
										
										
											2024-06-01 07:09:34 -04:00
										 |  |  |         self.assertFalse(self.can_reach_region("Open Water top left area"), "Can reach Open Water top left area") | 
					
						
							|  |  |  |         self.assertFalse(self.can_reach_region("Home Water, turtle room"), "Can reach Home Water, turtle room") |