summaryrefslogtreecommitdiff
path: root/core/source/test/scala/com/rockymadden/stringmetric/phonetic/SoundexMetricSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'core/source/test/scala/com/rockymadden/stringmetric/phonetic/SoundexMetricSpec.scala')
-rwxr-xr-xcore/source/test/scala/com/rockymadden/stringmetric/phonetic/SoundexMetricSpec.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/source/test/scala/com/rockymadden/stringmetric/phonetic/SoundexMetricSpec.scala b/core/source/test/scala/com/rockymadden/stringmetric/phonetic/SoundexMetricSpec.scala
index 98bb28b..9fc47d8 100755
--- a/core/source/test/scala/com/rockymadden/stringmetric/phonetic/SoundexMetricSpec.scala
+++ b/core/source/test/scala/com/rockymadden/stringmetric/phonetic/SoundexMetricSpec.scala
@@ -36,6 +36,13 @@ final class SoundexMetricSpec extends ScalaTest {
}
}
}
+ "SoundexMetric companion object" should provide {
+ "pass-through compare method" should returns {
+ "same value as class" in {
+ SoundexMetric.compare("robert", "rubin").get should be (false)
+ }
+ }
+ }
}
object SoundexMetricSpec {