def test_partial_5(self): x = 'hump' y = 'the reverse is longer' assert(fuzzy.partial_ratio(x,y) < 0.5)
def test_partial_4(self): x = 'reverse' y = 'the reverse is longer' assert(fuzzy.partial_ratio(x,y) == 1.0)
def test_partial_2(self): x = 'front matchers' y = 'front' assert(fuzzy.partial_ratio(x,y) == 1.0)
def test_partial_3(self): x = 'matchbackend' y = 'backend' assert(fuzzy.partial_ratio(x,y) == 1.0)
def test_partial_1(self): x = 'this is longer' y = 'is lo' assert(fuzzy.partial_ratio(x,y) == 1.0)