soundex
should be a function.
testString: assert(typeof soundex == 'function');
- text: soundex("Soundex")
should return a string.
testString: assert(typeof soundex("Soundex") == 'string');
- text: soundex("Soundex")
should return "S532"
.
testString: assert.equal(soundex("Soundex"), "S532");
- text: soundex("Example")
should return "E251"
.
testString: assert.equal(soundex("Example"), "E251");
- text: soundex("Sownteks")
should return "S532"
.
testString: assert.equal(soundex("Sownteks"), "S532");
- text: soundex("Ekzampul")
should return "E251"
.
testString: assert.equal(soundex("Ekzampul"), "E251");
- text: soundex("Euler")
should return "E460"
.
testString: assert.equal(soundex("Euler"), "E460");
- text: soundex("Gauss")
should return "G200"
.
testString: assert.equal(soundex("Gauss"), "G200");
- text: soundex("Hilbert")
should return "H416"
.
testString: assert.equal(soundex("Hilbert"), "H416");
- text: soundex("Knuth")
should return "K530"
.
testString: assert.equal(soundex("Knuth"), "K530");
- text: soundex("Lloyd")
should return "L300"
.
testString: assert.equal(soundex("Lloyd"), "L300");
- text: soundex("Lukasiewicz")
should return "L222"
.
testString: assert.equal(soundex("Lukasiewicz"), "L222");
```