Skip to content

Commit

Permalink
reorganize queue
Browse files Browse the repository at this point in the history
  • Loading branch information
danghai committed May 29, 2018
1 parent c611fda commit 000d6b3
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions algorithms/queues/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .queue import *
from .max_sliding_window import *
from .reconstruct_queue import *
from .priority_queue import *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion queues/__init__.py

This file was deleted.

11 changes: 7 additions & 4 deletions tests/test_queues.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
from queues.queue import ArrayQueue, LinkedListQueue
from queues.max_sliding_window import max_sliding_window
from queues.reconstruct_queue import reconstruct_queue
from queues.priority_queue import PriorityQueue, PriorityQueueNode
from algorithms.queues import (
ArrayQueue, LinkedListQueue,
max_sliding_window,
reconstruct_queue,
PriorityQueue, PriorityQueueNode
)

import unittest

class TestQueue(unittest.TestCase):
Expand Down

0 comments on commit 000d6b3

Please sign in to comment.