from time import sleep

from clickerft.cft import Cft


class Suite4(Cft):

    def test_buy_max_clicks(self):
        price = int(self.pincreaseMaxClicks.text)
        start = int(self.maxClicks.text)
        clickwait = .5
        for i in xrange(price):
            while int(self.clicksOwned.text) < 1:
                sleep(clickwait)
            self.increaseMaxClicks.click()
        fin = int(self.maxClicks.text)
        assert 1 == fin - start

if __name__ == '__main__':
    Suite4()

7c1a232d8f1f20171c31afe1ac19698b15dbc5ce
<mask token>


class Suite4(Cft):
    <mask token>


<mask token>

<mask token>


class Suite4(Cft):

    def test_buy_max_clicks(self):
        price = int(self.pincreaseMaxClicks.text)
        start = int(self.maxClicks.text)
        clickwait = 0.5
        for i in xrange(price):
            while int(self.clicksOwned.text) < 1:
                sleep(clickwait)
            self.increaseMaxClicks.click()
        fin = int(self.maxClicks.text)
        assert 1 == fin - start


<mask token>

<mask token>


class Suite4(Cft):

    def test_buy_max_clicks(self):
        price = int(self.pincreaseMaxClicks.text)
        start = int(self.maxClicks.text)
        clickwait = 0.5
        for i in xrange(price):
            while int(self.clicksOwned.text) < 1:
                sleep(clickwait)
            self.increaseMaxClicks.click()
        fin = int(self.maxClicks.text)
        assert 1 == fin - start


if __name__ == '__main__':
    Suite4()

from time import sleep
from clickerft.cft import Cft


class Suite4(Cft):

    def test_buy_max_clicks(self):
        price = int(self.pincreaseMaxClicks.text)
        start = int(self.maxClicks.text)
        clickwait = 0.5
        for i in xrange(price):
            while int(self.clicksOwned.text) < 1:
                sleep(clickwait)
            self.increaseMaxClicks.click()
        fin = int(self.maxClicks.text)
        assert 1 == fin - start


if __name__ == '__main__':
    Suite4()

from time import sleep

from clickerft.cft import Cft


class Suite4(Cft):

    def test_buy_max_clicks(self):
        price = int(self.pincreaseMaxClicks.text)
        start = int(self.maxClicks.text)
        clickwait = .5
        for i in xrange(price):
            while int(self.clicksOwned.text) < 1:
                sleep(clickwait)
            self.increaseMaxClicks.click()
        fin = int(self.maxClicks.text)
        assert 1 == fin - start

if __name__ == '__main__':
    Suite4()
