mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-04 02:11:08 +00:00
Merge remote-tracking branch 'origin/master'
# Conflicts: # graphs/edmonds_blossom_algorithm.py
This commit is contained in:
commit
a547676800
|
@ -4,7 +4,6 @@ from graphs.edmonds_blossom_algorithm import EdmondsBlossomAlgorithm
|
||||||
|
|
||||||
|
|
||||||
class EdmondsBlossomAlgorithmTest(unittest.TestCase):
|
class EdmondsBlossomAlgorithmTest(unittest.TestCase):
|
||||||
|
|
||||||
def convert_matching_to_array(self, matching):
|
def convert_matching_to_array(self, matching):
|
||||||
"""Helper method to convert a
|
"""Helper method to convert a
|
||||||
list of matching pairs into a sorted 2D array.
|
list of matching pairs into a sorted 2D array.
|
||||||
|
@ -69,5 +68,5 @@ class EdmondsBlossomAlgorithmTest(unittest.TestCase):
|
||||||
assert result in (possible_matching_1, possible_matching_2)
|
assert result in (possible_matching_1, possible_matching_2)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user