| 
									
										
										
										
											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-12-08 20:18:00 -05:00
										 |  |  | from ..Options import UnconfineHomeWater, EarlyEnergyForm | 
					
						
							| 
									
										
										
										
											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 = { | 
					
						
							| 
									
										
										
										
											2024-12-08 20:18:00 -05:00
										 |  |  |         "unconfine_home_water": UnconfineHomeWater.option_off, | 
					
						
							|  |  |  |         "early_energy_form": EarlyEnergyForm.option_off | 
					
						
							| 
									
										
										
										
											2024-05-17 06:29:00 -04:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def test_confine_home_water_location(self) -> None: | 
					
						
							|  |  |  |         """Test region accessible with confined home water""" | 
					
						
							| 
									
										
										
										
											2024-12-08 20:18:00 -05:00
										 |  |  |         self.assertFalse(self.can_reach_region("Open Waters top left area"), "Can reach Open Waters top left area") | 
					
						
							|  |  |  |         self.assertFalse(self.can_reach_region("Home Waters, turtle room"), "Can reach Home Waters, turtle room") |