Пример #1
0
 def test_queue_is_not_empty_after_enqueue(self):
     queue = Queue()
     queue.enqueue(0)
     assert not queue.empty()
Пример #2
0
 def test_initialized_queue_is_empty(self):
     queue = Queue()
     assert queue.empty()