Sha256: 59fbd434b08e9205be1f93855c88919b0988e0eb6a4bfc24e16670a9b5958006
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
require "test_helper" require "text/soundex" require 'yaml' class SoundexTest < Test::Unit::TestCase def test_cases YAML.load(%{ Euler: E460 Ellery: E460 Gauss: G200 Ghosh: G200 Hilbert: H416 Heilbronn: H416 Knuth: K530 Kant: K530 Lloyd: L300 Ladd: L300 Lukasiewicz: L222 Lissajous: L222 }).each do |input, expected_output| assert_equal expected_output, Text::Soundex.soundex(input) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
text-1.2.3 | test/soundex_test.rb |