mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-03 16:08:02 +00:00
Update sort stack challenge unit test
This commit is contained in:
@@ -153,7 +153,12 @@
|
|||||||
"def main():\n",
|
"def main():\n",
|
||||||
" test = TestSortStack()\n",
|
" test = TestSortStack()\n",
|
||||||
" test.test_sort_stack(MyStack())\n",
|
" test.test_sort_stack(MyStack())\n",
|
||||||
" test.test_sort_stack(MyStackSimplified())\n",
|
" try:\n",
|
||||||
|
" test.test_sort_stack(MyStackSimplified())\n",
|
||||||
|
" except NameError:\n",
|
||||||
|
" # Alternate solutions are only defined\n",
|
||||||
|
" # in the solutions file\n",
|
||||||
|
" pass\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"if __name__ == '__main__':\n",
|
"if __name__ == '__main__':\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user