The "test-pqueue" command:
This command is used for testing the PQueue object. There are one
or more arguments, each of the form:
- (1)
- NUMBER/TEXT
- (2)
- ^
- (3)
- -v
Form (1) arguments add an entry to the queue with value NUMBER and content TEXT. Form (2) pops off the queue entry with the smallest value. Form (3) (the -v option) causes the heap to be displayed after each subsequent operation.