Parent Directory | Revision Log | Patch
revision 1.1 by tjl, Tue Mar 11 13:32:17 2003 UTC | revision 1.2 by tjl, Tue Mar 11 13:57:54 2003 UTC | |
---|---|---|
# | Line 21 | Line 21 |
21 | # | # |
22 | ||
23 | ||
24 | import gzz, java | import java |
25 | ||
26 | def testBasicSort(): | def testBasicSort(): |
27 | q = gzz.util.PriorityQueue() | q = vob.util.PriorityQueue() |
28 | q.add("A", 5) | q.add("A", 5) |
29 | q.add("B", 3) | q.add("B", 3) |
30 | q.add("C", 8) | q.add("C", 8) |
# | Line 39 def testResetPriority(): | Line 39 def testResetPriority(): |
39 | """Test the changing of the priority of an existing job | """Test the changing of the priority of an existing job |
40 | """ | """ |
41 | ||
42 | q = gzz.util.PriorityQueue() | q = vob.util.PriorityQueue() |
43 | ||
44 | A, B, C, D, E = "A", "B", "C", "D", "E" | A, B, C, D, E = "A", "B", "C", "D", "E" |
45 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |