From f0f80f78188918d2c99950eee69bfb94fb9dd373 Mon Sep 17 00:00:00 2001 From: nelson-brochado Date: Sun, 5 Feb 2017 03:23:30 +0100 Subject: [PATCH] Renamed heap.py to Heap.py since it caused problems... --- ands/ds/MaxHeap.py | 2 +- ands/ds/MinHeap.py | 2 +- ands/ds/MinMaxHeap.py | 2 +- tests/ds/test_BinaryHeap.py | 2 +- tests/ds/test_HeapNode.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ands/ds/MaxHeap.py b/ands/ds/MaxHeap.py index 72452717..c52fc271 100644 --- a/ands/ds/MaxHeap.py +++ b/ands/ds/MaxHeap.py @@ -23,7 +23,7 @@ """ -from ands.ds.heap import BinaryHeap, HeapNode +from ands.ds.Heap import BinaryHeap, HeapNode __all__ = ["MaxHeap", "is_max_heap"] diff --git a/ands/ds/MinHeap.py b/ands/ds/MinHeap.py index 6f3fc852..0ec524b6 100755 --- a/ands/ds/MinHeap.py +++ b/ands/ds/MinHeap.py @@ -40,7 +40,7 @@ - Chapter 13 of [Introduction to Algorithms (3rd ed.)](https://mitpress.mit.edu/books/introduction-algorithms) by CLRS """ -from ands.ds.heap import BinaryHeap, HeapNode +from ands.ds.Heap import BinaryHeap, HeapNode __all__ = ["MinHeap", "is_min_heap"] diff --git a/ands/ds/MinMaxHeap.py b/ands/ds/MinMaxHeap.py index 88a9fbf0..6e760a14 100644 --- a/ands/ds/MinMaxHeap.py +++ b/ands/ds/MinMaxHeap.py @@ -67,7 +67,7 @@ - [http://www.diku.dk/forskning/performance-engineering/Jesper/heaplab/heapsurvey_html/node11.html](http://www.diku.dk/forskning/performance-engineering/Jesper/heaplab/heapsurvey_html/node11.html) """ -from ands.ds.heap import BinaryHeap, HeapNode +from ands.ds.Heap import BinaryHeap, HeapNode class MinMaxHeap(BinaryHeap): diff --git a/tests/ds/test_BinaryHeap.py b/tests/ds/test_BinaryHeap.py index e183efaa..06ff98b5 100755 --- a/tests/ds/test_BinaryHeap.py +++ b/tests/ds/test_BinaryHeap.py @@ -15,7 +15,7 @@ import unittest -from ands.ds.heap import BinaryHeap +from ands.ds.Heap import BinaryHeap class TestBinaryHeap(unittest.TestCase): diff --git a/tests/ds/test_HeapNode.py b/tests/ds/test_HeapNode.py index 4fbd2c87..de9e3161 100644 --- a/tests/ds/test_HeapNode.py +++ b/tests/ds/test_HeapNode.py @@ -11,13 +11,13 @@ # Description -Tests for the HeapNode class in heap.py. +Tests for the HeapNode class in Heap.py. """ import unittest -from ands.ds.heap import HeapNode +from ands.ds.Heap import HeapNode class TestHeapNode(unittest.TestCase):