Skip to content

cmthakur/string_comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

// For quality test obtained_output = {:ceo => “Larry Page”, :email => “[email protected]”} expected_output = { :ceo => “Larry Page”, :email => “[email protected]”} string_comparision.quality_test(expected_output, obtained_output) // should == 100 %

// For string distance calculation

 expected = "David Joker"
 other = "David Poker"
string_comparision.calc_distance(expected,other)

// For Numeric distance calculation
string_comparision.calc_distance_for_number(expected, other)

About

gem for string comparison

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages