Пример #1
0
 def setup(self):
     base_list = generate_list(size=100, negatives=True)
     self.py_queue = deque(list(base_list))
     self.queue = MyQueue(list(base_list))
Пример #2
0
 def setup(self):
     self.standard_list = generate_list(size=100)
     self.negative_list = generate_list(size=100, negatives=True)
Пример #3
0
 def setup(self):
     self.base_empty = []
     self.base_list = generate_list(size=100, negatives=True)
     self.array_list = ArrayList(list(self.base_list))
     self.array_empty = ArrayList(list([]))
Пример #4
0
 def setup(self):
     self.base_list = generate_list(size=100, negatives=True)
     self.stack = Stack(list(self.base_list))
 def setup(self):
     self.base_list = generate_list(size=100, negatives=True)
     self.linked_list = from_list(list(self.base_list))