[cl-containers-devel] Problems with priority queues

Gary King gwking at metabang.com
Thu Jul 19 12:03:11 UTC 2007


> Hate to be the one who always carries bad news, but... :-)

<smile> All news is good news! Thanks for the report (and the test  
case!); I sort of figured that there remained some underlying gunk.  
I'll try to take care of this by the weekend.

> Here's a test that fails with an exception in delete-first.  Cl- 
> containers fresh from asdf-install, SBCL 1.0.7.19.
>
>
> (addtest (test-priority-queue-on-container)
>   add-and-delete-first
>   (let ((c (make-container 'priority-queue-on-container)))
>     (insert-item c 2)
>     (insert-item c 1)
>     (insert-item c 3)
>     (delete-first c)
>     (ensure-same (size c) 2 :test '=)
>     (ensure-same (first-element c) 2)))
>
>
> Cheers!
>
> _______________________________________________
> cl-containers-devel mailing list
> cl-containers-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/cl-containers-devel

--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM







More information about the cl-containers-devel mailing list