Testament: refactoring; makes the test joiner green
This commit is contained in:
parent
8896770f8f
commit
3b783f7e13
28 changed files with 176 additions and 230 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue