Exemplo n.º 1
0
 def test_increase_cost(self):
     task = Task('test_task', 50, 50, None)
     cost = 50
     for i in range(100, 150):
         cost += i
         task.increase_cost(i)
         self.assertTrue(task.actual_cost == cost)