********************************************************************************
Testing empty hashheap
Create a hash heap
Initialize hash heap
Terminate hash heap
Destroy hash heap

Create another hash heap
Initialize hash heap
Add an item, returned hash_key 1
Pull an item
Adding 5 items
------------------------------------- Heap -------------------------------------
Heap idx	Hash key	Hash idx	Dbl rank	Int rank	Values
       1	       6	       0	 0.09784	     906	0x5	0x0	0x0	0x0
       2	       4	       0	  0.3633	     576	0x3	0x0	0x0	0x0
       3	       3	       0	  0.5374	     314	0x2	0x0	0x0	0x0
       4	       2	       0	  0.9382	     467	0x1	0x0	0x0	0x0
       5	       5	       0	  0.5479	     124	0x4	0x0	0x0	0x0
--------------------------------------------------------------------------------
Hash map inactive
------------------------------------- Hash -------------------------------------
Hash idx	Hash key	Heap idx
       1	       0	       0
       2	       0	       0
       3	       0	       0
       4	       0	       0
       5	       0	       0
       6	       0	       0
       7	       0	       0
       8	       0	       0
       9	       0	       0
      10	       0	       0
      11	       0	       0
      12	       0	       0
      13	       0	       0
      14	       0	       0
      15	       0	       0
      16	       0	       0
--------------------------------------------------------------------------------
Dequeued item: 0x5
Dequeued item: 0x3
Dequeued item: 0x2
Dequeued item: 0x4
Dequeued item: 0x1
Adding 10 items, forcing a resizing ... 
------------------------------------- Heap -------------------------------------
Heap idx	Hash key	Hash idx	Dbl rank	Int rank	Values
       1	      12	      13	 0.03374	     510	0xB	0x0	0x0	0x0
       2	      16	      28	  0.2294	     977	0xF	0x0	0x0	0x0
       3	       7	      10	 0.06223	     724	0x6	0x0	0x0	0x0
       4	      15	       8	  0.5122	     140	0xE	0x0	0x0	0x0
       5	      10	       5	  0.3716	     279	0x9	0x0	0x0	0x0
       6	       9	      17	  0.5166	     789	0x8	0x0	0x0	0x0
       7	      13	       1	  0.4807	     557	0xC	0x0	0x0	0x0
       8	      14	      20	  0.7869	      89	0xD	0x0	0x0	0x0
       9	       8	      30	  0.6972	     588	0x7	0x0	0x0	0x0
      10	      11	      25	  0.6704	     477	0xA	0x0	0x0	0x0
--------------------------------------------------------------------------------
Hash map active
------------------------------------- Hash -------------------------------------
Hash idx	Hash key	Heap idx
       1	      13	       7
       2	       0	       0
       3	       0	       0
       4	       0	       0
       5	      10	       5
       6	       0	       0
       7	       0	       0
       8	      15	       4
       9	       0	       0
      10	       7	       3
      11	       0	       0
      12	       0	       0
      13	      12	       1
      14	       0	       0
      15	       0	       0
      16	       0	       0
      17	       9	       6
      18	       0	       0
      19	       0	       0
      20	      14	       8
      21	       0	       0
      22	       0	       0
      23	       0	       0
      24	       0	       0
      25	      11	      10
      26	       0	       0
      27	       0	       0
      28	      16	       2
      29	       0	       0
      30	       8	       9
      31	       0	       0
      32	       0	       0
--------------------------------------------------------------------------------
Removing hash keys 8u and 10u
Reprioritizing hash key 9u
------------------------------------- Heap -------------------------------------
Heap idx	Hash key	Hash idx	Dbl rank	Int rank	Values
       1	      12	      13	 0.03374	     510	0xB	0x0	0x0	0x0
       2	      16	      28	  0.2294	     977	0xF	0x0	0x0	0x0
       3	       7	      10	 0.06223	     724	0x6	0x0	0x0	0x0
       4	      15	       8	  0.5122	     140	0xE	0x0	0x0	0x0
       5	      11	      25	  0.6704	     477	0xA	0x0	0x0	0x0
       6	       9	      17	   100.0	      10	0x8	0x0	0x0	0x0
       7	      13	       1	  0.4807	     557	0xC	0x0	0x0	0x0
       8	      14	      20	  0.7869	      89	0xD	0x0	0x0	0x0
--------------------------------------------------------------------------------
Hash map active
------------------------------------- Hash -------------------------------------
Hash idx	Hash key	Heap idx
       1	      13	       7
       2	       0	       0
       3	       0	       0
       4	       0	       0
       5	      10	       0
       6	       0	       0
       7	       0	       0
       8	      15	       4
       9	       0	       0
      10	       7	       3
      11	       0	       0
      12	       0	       0
      13	      12	       1
      14	       0	       0
      15	       0	       0
      16	       0	       0
      17	       9	       6
      18	       0	       0
      19	       0	       0
      20	      14	       8
      21	       0	       0
      22	       0	       0
      23	       0	       0
      24	       0	       0
      25	      11	       5
      26	       0	       0
      27	       0	       0
      28	      16	       2
      29	       0	       0
      30	       8	       0
      31	       0	       0
      32	       0	       0
--------------------------------------------------------------------------------
Cancelling value 0xC (hash key 13)
------------------------------------- Heap -------------------------------------
Heap idx	Hash key	Hash idx	Dbl rank	Int rank	Values
       1	      12	      13	 0.03374	     510	0xB	0x0	0x0	0x0
       2	      16	      28	  0.2294	     977	0xF	0x0	0x0	0x0
       3	       7	      10	 0.06223	     724	0x6	0x0	0x0	0x0
       4	      15	       8	  0.5122	     140	0xE	0x0	0x0	0x0
       5	      11	      25	  0.6704	     477	0xA	0x0	0x0	0x0
       6	       9	      17	   100.0	      10	0x8	0x0	0x0	0x0
       7	      14	      20	  0.7869	      89	0xD	0x0	0x0	0x0
--------------------------------------------------------------------------------
Hash map active
------------------------------------- Hash -------------------------------------
Hash idx	Hash key	Heap idx
       1	      13	       0
       2	       0	       0
       3	       0	       0
       4	       0	       0
       5	      10	       0
       6	       0	       0
       7	       0	       0
       8	      15	       4
       9	       0	       0
      10	       7	       3
      11	       0	       0
      12	       0	       0
      13	      12	       1
      14	       0	       0
      15	       0	       0
      16	       0	       0
      17	       9	       6
      18	       0	       0
      19	       0	       0
      20	      14	       7
      21	       0	       0
      22	       0	       0
      23	       0	       0
      24	       0	       0
      25	      11	       5
      26	       0	       0
      27	       0	       0
      28	      16	       2
      29	       0	       0
      30	       8	       0
      31	       0	       0
      32	       0	       0
--------------------------------------------------------------------------------
Dequeued item: 0xB
Next item: 0x6
Dequeued item: 0x6
Next item: 0xF
Dequeued item: 0xF
Next item: 0xE
Dequeued item: 0xE
Next item: 0xA
Dequeued item: 0xA
Next item: 0xD
Dequeued item: 0xD
Next item: 0x8
Dequeued item: 0x8
No more items
Cleaning up
********************************************************************************
