示例#1
0
    def test_choose(self):
        theme = DefaultTheme()
        field = OilField(80, 24)
        OilFiller(theme).fill(field)
        DrillCostFiller(theme).fill(field)
        PotentialOilDepthFiller(theme).fill(field)
        ReservoirFiller(theme).fill(field)

        surveying = Surveying.load(dir)

        coords = surveying.choose(field)
示例#2
0
    def test_choose(self):
        theme = DefaultTheme()
        field = OilField(80, 24)
        OilFiller(theme).fill(field)
        DrillCostFiller(theme).fill(field)
        PotentialOilDepthFiller(theme).fill(field)
        ReservoirFiller(theme).fill(field)

        surveying = Surveying.load(dir)

        coords = surveying.choose(field)
示例#3
0
 def save(self):
     surveying = Surveying.init(dir)
     surveying.save()
示例#4
0
 def test_load(self):
     surveying = Surveying.load(dir)
示例#5
0
 def test_init(self):
     surveying = Surveying.init(dir)
示例#6
0
 def save(self):
     surveying = Surveying.init(dir)
     surveying.save()
示例#7
0
 def test_load(self):
     surveying = Surveying.load(dir)
示例#8
0
 def test_init(self):
     surveying = Surveying.init(dir)