Example #1
0
 def test_contains(self):
     pq = PriorityQueue(lambda i: i.__key__(), self.items)
     self.assertEqual(pq.contains(Item(4)), True)