-
Notifications
You must be signed in to change notification settings - Fork 875
Fixed issue #59 - "partial" parameter for _token_set()
is now honored
#60
Conversation
Can you add a test for this? |
fixed test which previously checked not partial comparison |
@@ -129,7 +130,7 @@ def testTokenSetRatio(self): | |||
self.assertEqual(fuzz.token_set_ratio(self.s4, self.s5), 100) | |||
|
|||
def testPartialTokenSetRatio(self): | |||
self.assertEqual(fuzz.token_set_ratio(self.s4, self.s5), 100) | |||
self.assertEqual(fuzz.partial_token_set_ratio(self.s4, self.s7), 100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not keep the old test as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it didn't actually check partial_token_set_ratio
? There is previous test to test token_set_ratio
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see.
Fixed issue #59 - "partial" parameter for `_token_set()` is now honored
Thanks for being patient! I'll make a release right now :) |
Thank you, you're the owner, may check as thoroughly as you please) |
Just made a release! |
No description provided.