def execute(self): self.cost = _landbos.powerPerformanceCost(self.hubHeight, self.permanentMetTowers, self.tempMetTowers)
def test_powerPerformance2(self): cost = _landbos.powerPerformanceCost(self.hubHeight, permanent=5, temporary=4) self.assertAlmostEqual(2117200, cost, delta=0.5)
def test_powerPerformance(self): cost = _landbos.powerPerformanceCost(self.hubHeight, self.permanentMetTowers, self.tempMetTowers) self.assertAlmostEqual(1130400, cost, delta=0.5)