diff options
Diffstat (limited to 'core/source/test/scala/com/rockymadden/stringmetric/phonetic/AlphabetSpec.scala')
-rwxr-xr-x | core/source/test/scala/com/rockymadden/stringmetric/phonetic/AlphabetSpec.scala | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/core/source/test/scala/com/rockymadden/stringmetric/phonetic/AlphabetSpec.scala b/core/source/test/scala/com/rockymadden/stringmetric/phonetic/AlphabetSpec.scala index 8074ca8..3287d45 100755 --- a/core/source/test/scala/com/rockymadden/stringmetric/phonetic/AlphabetSpec.scala +++ b/core/source/test/scala/com/rockymadden/stringmetric/phonetic/AlphabetSpec.scala @@ -93,56 +93,5 @@ final class AlphabetSpec extends ScalaTest { } } } - "an overloaded startsWith method which accepts Array[Char]" when passed { - "empty argument" should returns { - "false" in { - Alpha startsWith Array.empty[Char] should be (false) - } - } - "non-alphabet argument" should returns { - "false" in { - Alpha startsWith "1abc".toCharArray should be (false) - } - } - "alphabet argument" should returns { - "true" in { - Alpha startsWith "abc".toCharArray should be (true) - } - } - } - "an overloaded startsWith method which accepts Char" when passed { - "empty argument" should returns { - "false" in { - Alpha startsWith '0' should be (false) - } - } - "non-alphabet argument" should returns { - "false" in { - Alpha startsWith '1' should be (false) - } - } - "alphabet argument" should returns { - "true" in { - Alpha startsWith 'a' should be (true) - } - } - } - "an overloaded startsWith method which accepts String" when passed { - "empty argument" should returns { - "false" in { - Alpha startsWith "" should be (false) - } - } - "non-alphabet argument" should returns { - "false" in { - Alpha startsWith "1abc" should be (false) - } - } - "alphabet argument" should returns { - "true" in { - Alpha startsWith "abc" should be (true) - } - } - } } } |