def execute(self): self.cost = _landbos.substationCost(self.voltage, self.farmSize)
def test_substation(self): cost = _landbos.substationCost(self.voltage, self.farmSize) self.assertAlmostEqual(5530851, cost, delta=0.5)