According to a coverage report I ran, on a solution that is passing all cases, there are a few uncovered lines of code.
SocialNetwork::add_panda throws Exception when panda already in social network
SocialNetwork::make_friends throws Exception when pandas are already friends
- invalid input cases for
Panda::__init__
Panda::__str__ - currently what this method should return is not defined in the task. Maybe we should define a wanted format and check for that in the test case?
Panda::__hash__ - maybe check the method is defined?
According to a coverage report I ran, on a solution that is passing all cases, there are a few uncovered lines of code.
SocialNetwork::add_pandathrowsExceptionwhen panda already in social networkSocialNetwork::make_friendsthrowsExceptionwhen pandas are already friendsPanda::__init__Panda::__str__- currently what this method should return is not defined in the task. Maybe we should define a wanted format and check for that in the test case?Panda::__hash__- maybe check the method is defined?