prabhupant / python-ds

No non-sense and no BS repo for how data structure code should be in Python - simple and elegant.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Cases

allentv opened this issue · 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?

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?

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