Add original test case back

This commit is contained in:
Saif Billah 2020-07-26 17:43:17 -04:00
parent 6128fcb1d1
commit 923738a24d

View File

@ -159,6 +159,7 @@
" solution = Solution()\n", " solution = Solution()\n",
" self.assertRaises(TypeError, solution.find_diff, None)\n", " self.assertRaises(TypeError, solution.find_diff, None)\n",
" self.assertEqual(solution.find_diff('ab', 'aab'), 'a')\n", " self.assertEqual(solution.find_diff('ab', 'aab'), 'a')\n",
" self.assertEqual(solution.find_diff('aab', 'ab'), 'a')\n",
" self.assertEqual(solution.find_diff('baa', 'ab'), 'a')\n", " self.assertEqual(solution.find_diff('baa', 'ab'), 'a')\n",
" self.assertEqual(solution.find_diff('abcd', 'abcde'), 'e')\n", " self.assertEqual(solution.find_diff('abcd', 'abcde'), 'e')\n",
" self.assertEqual(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')\n", " self.assertEqual(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')\n",
@ -217,4 +218,4 @@
}, },
"nbformat": 4, "nbformat": 4,
"nbformat_minor": 1 "nbformat_minor": 1
} }