Used internally do debug the Heap.

Not removed because this can still be useful.

Property definitions

core $ MinHeap :: assert_best
	# Used internally do debug the Heap.
	# Not removed because this can still be useful.
	private fun assert_best: Bool
	do
		if is_empty then return true
		var b = peek
		for i in self do if comparator.compare(b, i) > 0 then
			#print "  peek is {b} but better found {i}"
			for j in self do
				#print "   {j}"
			end
			return false
		end
		return true
	end
lib/core/queue.nit:308,2--322,4