tests/unix: Add coverage tests for pairheap data structure.

This commit is contained in:
Damien George
2020-01-14 00:02:01 +11:00
parent cfddc6a8c7
commit dccace6f3f
2 changed files with 72 additions and 0 deletions

View File

@@ -101,6 +101,19 @@ cc99
22ff
-1
-1
# pairheap
create: 0 0 0 0
pop all: 0 1 2 3
create: 7 6 5 4 3 2 1 0
pop all: 0 1 2 3 4 5 6 7
create: 1 - - 1 1 1 1 1 1
pop all: 1 2
create: 1 1 1 1 2 2
pop all: 2 4
create: 1 1 1 1 1
pop all: 1 3 4
create: 3 3 3 1 1 1
pop all: 1 2 4 5
0123456789 b'0123456789'
7300
7300