Skip to content

Commit b644425

Browse files
authored
Merge pull request larissalages#40 from larissalages/fix/unit-tests
fix unit tests
2 parents bedc416 + 51d5095 commit b644425

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

classical_algorithms/python/tests/test_merge_sort.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
from classical_algorithms.mergesort import MergeSort
2+
from classical_algorithms.python.mergesort import MergeSort
33

44

55
class TestMergeSort(unittest.TestCase):
@@ -17,7 +17,7 @@ def test_merge_sort(self):
1717

1818
print('Two or More Elements')
1919
array = [10, -1, 0, 100, 5, 15, -100, 7]
20-
self.assertEquals(merge_sort.sort(array), sorted(array))
20+
self.assertEqual(merge_sort.sort(array), sorted(array))
2121

2222
print('Success: test_merge_sort\n')
2323

classical_algorithms/python/tests/test_quick_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
from classical_algorithms.quicksort import Quicksort
2+
from classical_algorithms.python.quicksort import Quicksort
33

44

55
class TestQuickSort(unittest.TestCase):

0 commit comments

Comments
 (0)