def setUp(self):
		super(TestPartialBinaryBuildabilityCache, self).setUp()
		coords_list = []
		for x in xrange(10):
			for y in xrange(10):
				coords_list.append((x, y))
		self.terrain_cache = MockTerrainBuildabilityCache(coords_list)
		self.buildability_cache = PartialBinaryBuildabilityCache(self.terrain_cache)
 def __init__(self, terrain_cache):
     self.terrain_cache = terrain_cache
     self._area_cache = PartialBinaryBuildabilityCache(terrain_cache)
     self.cache = self._area_cache.cache  # {(width, height): set((x, y), ...), ...}
     self._buildings = set()
     self._area_coverage = {}