jaro
应该是一个功能。
testString: 'assert(typeof jaro=="function","jaro
should be a function.");'
- text: 'jaro(""+tests[0][0]+"",""+tests[0][1]+"")
应返回一个数字。'
testString: 'assert(typeof jaro(tests[0][0],tests[0][1])=="number","jaro()
should return a number.");'
- text: 'jaro(""+tests[0][0]+"",""+tests[0][1]+"")
应该返回"+results[0]+"
。'
testString: 'assert.equal(jaro(tests[0][0],tests[0][1]),results[0],"jaro(""+tests[0][0]+"",""+tests[0][1]+"")
should return "+results[0]+"
.");'
- text: 'jaro(""+tests[1][0]+"",""+tests[1][1]+"")
应返回"+results[1]+"
。'
testString: 'assert.equal(jaro(tests[1][0],tests[1][1]),results[1],"jaro(""+tests[1][0]+"",""+tests[1][1]+"")
should return "+results[1]+"
.");'
- text: 'jaro(""+tests[2][0]+"",""+tests[2][1]+"")
应返回"+results[2]+"
。'
testString: 'assert.equal(jaro(tests[2][0],tests[2][1]),results[2],"jaro(""+tests[2][0]+"",""+tests[2][1]+"")
should return "+results[2]+"
.");'
- text: 'jaro(""+tests[3][0]+"",""+tests[3][1]+"")
应返回"+results[3]+"
。'
testString: 'assert.equal(jaro(tests[3][0],tests[3][1]),results[3],"jaro(""+tests[3][0]+"",""+tests[3][1]+"")
should return "+results[3]+"
.");'
- text: 'jaro(""+tests[4][0]+"",""+tests[4][1]+"")
应该返回"+results[4]+"
。'
testString: 'assert.equal(jaro(tests[4][0],tests[4][1]),results[4],"jaro(""+tests[4][0]+"",""+tests[4][1]+"")
should return "+results[4]+"
.");'
```