summaryrefslogtreecommitdiff
path: root/core/source/test/scala/com/rockymadden/stringmetric/phonetic/NysiisAlgorithmSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'core/source/test/scala/com/rockymadden/stringmetric/phonetic/NysiisAlgorithmSpec.scala')
-rwxr-xr-xcore/source/test/scala/com/rockymadden/stringmetric/phonetic/NysiisAlgorithmSpec.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/source/test/scala/com/rockymadden/stringmetric/phonetic/NysiisAlgorithmSpec.scala b/core/source/test/scala/com/rockymadden/stringmetric/phonetic/NysiisAlgorithmSpec.scala
index 69c23d9..6a0f113 100755
--- a/core/source/test/scala/com/rockymadden/stringmetric/phonetic/NysiisAlgorithmSpec.scala
+++ b/core/source/test/scala/com/rockymadden/stringmetric/phonetic/NysiisAlgorithmSpec.scala
@@ -190,6 +190,13 @@ final class NysiisAlgorithmSpec extends ScalaTest {
}
}
}
+ "NysiisAlgorithm companion object" should provide {
+ "pass-through compute method" should returns {
+ "same value as class" in {
+ NysiisAlgorithm.compute("macdonald").get should equal ("mcdanald")
+ }
+ }
+ }
}
object NysiisAlgorithmSpec {