Lines Matching full:generation
4 """Generation unittest.
14 from generation import Generation
21 # The number of tasks to be put in a generation to be tested.
30 """This class test the Generation class.
32 Given a set of tasks in the generation, if there is any task that is pending,
39 Produce a generation with a set of tasks. Set the cost of the task one by
49 # The tasks for the generation to be tested.
52 gen = Generation(set(tasks), None)
58 # The Done method of the Generation should return false before all the tasks
63 # Mark a task as done by calling the UpdateTask method of the generation.
64 # Send the generation the task as well as its results.