Adding test case to catch faulty solution for permutation-challenge

This commit is contained in:
Shantanu Kamath 2020-12-11 23:19:53 +08:00
parent 358f2cc604
commit 02f0c8852c
2 changed files with 2 additions and 0 deletions

View File

@ -124,6 +124,7 @@
" self.assertEqual(func('act', 'cat'), True)\n",
" self.assertEqual(func('a ct', 'ca t'), True)\n",
" self.assertEqual(func('dog', 'doggo'), False)\n",
" self.assertEqual(func('dogoo', 'dogcc'), False)\n",
" print('Success: test_permutation')\n",
"\n",
"\n",

View File

@ -196,6 +196,7 @@
" self.assertEqual(func('act', 'cat'), True)\n",
" self.assertEqual(func('a ct', 'ca t'), True)\n",
" self.assertEqual(func('dog', 'doggo'), False)\n",
" self.assertEqual(func('dogoo', 'dogcc'), False)\n",
" print('Success: test_permutation')\n",
"\n",
"\n",