Skip to content

Commit

Permalink
Test for empty edge case.
Browse files Browse the repository at this point in the history
  • Loading branch information
skytreader committed Jul 6, 2017
1 parent 7b31107 commit ab961b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion algorithms/tests/permutations_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ class PermutationsTest(unittest.TestCase):

def setUp(self):
self.cases = {
"abc": ["abc", "acb", "bac", "bca", "cab", "cba"]
"abc": ["abc", "acb", "bac", "bca", "cab", "cba"],
"": []
}

for k in self.cases:
Expand Down

0 comments on commit ab961b7

Please sign in to comment.