python-ds icon indicating copy to clipboard operation
python-ds copied to clipboard

Test Cases

Open allentv opened this issue 4 years ago • 2 comments

It is nice to have solutions but I am missing the context of how inputs would be transformed by algorithms and data structures. If there were unit tests that describe different inputs and expected outputs, that would make the learning process more contextual. Thoughts?

allentv avatar Aug 09 '20 19:08 allentv

hey, @allentv I would like to work on this issue, could help me with being specific to add test cases to which algorithms or any particular algorithm?

SubhasmitaSw avatar Aug 12 '20 14:08 SubhasmitaSw

I would prefer to have test cases for all algorithms to have context. I have been using unittest package for creating test cases. Here is an example : https://docs.python.org/3/library/unittest.html#basic-example

allentv avatar Aug 14 '20 07:08 allentv