示例#1
0
 def execute(self):
     self.cost = _landbos.siteCompoundCost(self.accessRoadEntrances,
                                           self.constructionTime,
                                           self.farmSize)
示例#2
0
文件: landbos.py 项目: gtqite/ssc
 def execute(self):
     self.cost = _landbos.siteCompoundCost(self.accessRoadEntrances,
         self.constructionTime, self.farmSize)
示例#3
0
    def test_siteCompound(self):

        cost = _landbos.siteCompoundCost(self.accessRoadEntrances, self.constructionTime,
            self.farmSize)
        self.assertAlmostEqual(901575, cost, delta=0.5)