Added PoC too help understanding the Code

This commit is contained in:
Bernhard Schoeffel 2025-04-13 13:47:49 +02:00
parent 0401aa42ee
commit f033738d31

View File

@ -121,6 +121,14 @@ class PriorityQueue:
if __name__ == '__main__': if __name__ == '__main__':
# Proof of Concept
testEntry = HeapEntry("A", 2)
print(testEntry)
testArray = MemoryArray([testEntry])
print(testArray)
print(testArray[Literal(0)])
# Queue Testing
pq = PriorityQueue() pq = PriorityQueue()
try: try:
pq.pop() pq.pop()