diff --git a/arrays_strings/permutation/permutation_solution.ipynb b/arrays_strings/permutation/permutation_solution.ipynb index 1ec421c..2cca059 100644 --- a/arrays_strings/permutation/permutation_solution.ipynb +++ b/arrays_strings/permutation/permutation_solution.ipynb @@ -58,7 +58,8 @@ "* One or more empty strings -> False\n", "* 'Nib', 'bin' -> False\n", "* 'act', 'cat' -> True\n", - "* 'a ct', 'ca t' -> True" + "* 'a ct', 'ca t' -> True\n", + "* 'dog', 'doggo' -> False" ] }, { @@ -200,6 +201,7 @@ " assert_equal(func('Nib', 'bin'), False)\n", " assert_equal(func('act', 'cat'), True)\n", " assert_equal(func('a ct', 'ca t'), True)\n", + " assert_equal(func('dog', 'doggo'), False)\n", " print('Success: test_permutation')\n", "\n", "\n", diff --git a/arrays_strings/permutation/test_permutation_solution.py b/arrays_strings/permutation/test_permutation_solution.py index 8320cfd..9ab124c 100644 --- a/arrays_strings/permutation/test_permutation_solution.py +++ b/arrays_strings/permutation/test_permutation_solution.py @@ -9,6 +9,7 @@ class TestPermutation(object): assert_equal(func('Nib', 'bin'), False) assert_equal(func('act', 'cat'), True) assert_equal(func('a ct', 'ca t'), True) + assert_equal(func('dog', 'doggo'), False) print('Success: test_permutation')