Increase tests for SoundEx algorithm
vickumar1981 opened this issue · 1 comments
vickumar1981 commented
Current test coverage is ~86.2% for the SoundEx algorithm.
This can be increased by addressing a few edge cases:
-
Test when length is 0: https://github.com/vickumar1981/stringdistance/blob/master/src/main/scala/com/github/vickumar1981/stringdistance/interfaces/sound/SoundexAlgo.scala#L8
-
Test lines 32, 36, & 37 in implementation:
The missing lines are shown in the scoverage report.
vickumar1981 commented
Addressed by #58