示例#1
0
 def test_peek(self):
     heap = XHeap(reversed(ascii_uppercase), key=self.key)
     self.assertEqual('Z', heap.peek())