Tk Library Source Code

Artifact [230ccd1495]
Login

Artifact 230ccd1495aed9760fe32ff32ad2ad17cd7a2242:

Attachment "prioqueue.FAILED" to ticket [722132ffff] added by andreas_kupries 2003-04-16 05:06:50.
tcllib tests
Tests running in working dir:  /nfs/crimper/home/andreask/activetcl/dbn/wb/dt/tcllib.vfs
Only sourcing test files that match:  *.test
Tests began at Tue Apr 15 14:44:01 PDT 2003
Module:	struct
modules/struct/graph.test
modules/struct/list.test
modules/struct/matrix.test
modules/struct/prioqueue.test

==== prioqueue-4.3 put operation, singleton items FAILED
==== Contents of test case:

    prioqueue myprioqueue
    myprioqueue put a 1
    myprioqueue put b 2
    myprioqueue put c 3
    set result [list [myprioqueue get] [myprioqueue get] [myprioqueue get]]
    myprioqueue destroy
    set result

---- Result was:
a b c
---- Result should have been:
c b a
==== prioqueue-4.3 FAILED


==== prioqueue-4.4 put operation, singleton items FAILED
==== Contents of test case:

    prioqueue myprioqueue
    myprioqueue put a 3
    myprioqueue put b 2
    myprioqueue put c 1
    set result [list [myprioqueue get] [myprioqueue get] [myprioqueue get]]
    myprioqueue destroy
    set result

---- Result was:
c b a
---- Result should have been:
a b c
==== prioqueue-4.4 FAILED


==== prioqueue-4.5 put operation, singleton items FAILED
==== Contents of test case:

    prioqueue myprioqueue
    myprioqueue put a 3
    myprioqueue put b 1
    myprioqueue put c 2
    set result [list [myprioqueue get] [myprioqueue get] [myprioqueue get]]
    myprioqueue destroy
    set result

---- Result was:
b c a
---- Result should have been:
a c b
==== prioqueue-4.5 FAILED


==== prioqueue-4.6 put operation, singleton items FAILED
==== Contents of test case:

    prioqueue -ascii myprioqueue 
    myprioqueue put a a
    myprioqueue put b b
    myprioqueue put c c
    set result [list [myprioqueue get] [myprioqueue get] [myprioqueue get]]
    myprioqueue destroy
    set result

---- Result was:
c b a
---- Result should have been:
a b c
==== prioqueue-4.6 FAILED


==== prioqueue-4.7 put operation, singleton items FAILED
==== Contents of test case:

    prioqueue -dictionary myprioqueue
    myprioqueue put a a
    myprioqueue put b b
    myprioqueue put c c
    set result [list [myprioqueue get] [myprioqueue get] [myprioqueue get]]
    myprioqueue destroy
    set result

---- Result was:
c b a
---- Result should have been:
a b c
==== prioqueue-4.7 FAILED


==== prioqueue-4.8 put operation, singleton items FAILED
==== Contents of test case:

    prioqueue -real myprioqueue
    myprioqueue put a 1.0
    myprioqueue put b 2.0
    myprioqueue put c 3.0
    set result [list [myprioqueue get] [myprioqueue get] [myprioqueue get]]
    myprioqueue destroy
    set result

---- Result was:
a b c
---- Result should have been:
c b a
==== prioqueue-4.8 FAILED


==== prioqueue-8.1 peekpriority operation FAILED
==== Contents of test case:

    prioqueue myprioqueue
    myprioqueue put a 1
    myprioqueue put b 2
    myprioqueue put c 3
    set result [list [myprioqueue peekpriority] [myprioqueue peekpriority] [myprioqueue peekpriority]]
    myprioqueue destroy
    set result

---- Result was:
1 1 1
---- Result should have been:
3 3 3
==== prioqueue-8.1 FAILED


==== prioqueue-8.2 peekpriority operation, multiple items FAILED
==== Contents of test case:

    prioqueue myprioqueue
    myprioqueue put a 1
    myprioqueue put b 2
    myprioqueue put c 3
    set result [myprioqueue peekpriority 3]
    myprioqueue destroy
    set result

---- Result was:
1 2 3
---- Result should have been:
3 2 1
==== prioqueue-8.2 FAILED

modules/struct/queue.test
modules/struct/record.test
modules/struct/skiplist.test
modules/struct/stack.test
modules/struct/tree.test


Tests ended at Tue Apr 15 14:44:03 PDT 2003
all.tcl:	Total	772	Passed	761	Skipped	3	Failed	8
Sourced 7 Test Files.
Files with failing tests: struct/prioqueue.test
Number of tests skipped for each constraint:
	3	badTest