Testament: refactoring; makes the test joiner green

This commit is contained in:
Araq 2018-12-06 16:37:56 +01:00
commit 3b783f7e13
28 changed files with 176 additions and 230 deletions

View file

@ -1,6 +1,7 @@
discard """
output: '''
100 0
100
0
'''
"""
@ -72,7 +73,7 @@ block tgeneric1:
proc print[T](heap: PBinHeap[T]) =
for i in countup(0, heap.last):
stdout.write($heap.heap[i].data, " ")
stdout.write($heap.heap[i].data, "\n")
var heap: PBinHeap[int]