This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
import AlgoQueue | |
class Test_AlgoQueue(unittest.TestCase): | |
def setUp(self): | |
self.queue = AlgoQueue.Queue() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import types | |
class Node(object): | |
""" | |
Used to hold the data used by the LinkedList class. | |
""" | |
def __init__(self, data=None, prev=None, next=None): | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
import AlgoLinkedList | |
class Test_LinkedList(unittest.TestCase): | |
def setUp(self): | |
pass | |
def test_list_new(self): |
OlderNewer