Skip to content

Commit f16a24e

Browse files
committed
Added PQ test
1 parent 6147ce1 commit f16a24e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.venv
22
/venv/
3+
/rdf/
34
/testfiles/Randomly_generated_graph.txt

Diff for: test_qq.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import queue
2+
3+
4+
pq = queue.PriorityQueue()
5+
pq.put(((1, 5, 4, "ala", "beta"), "pierwszy"))
6+
pq.put((("mala", 4, 6, 3), "drugi"))
7+
pq.put(((1, 2, 7, "nic", "kot"), "trzeci"))
8+
9+
print(pq)

0 commit comments

Comments
 (0)