public void SplitBlankString()
        {
            // Arrange
            var splitter = new SpellingWordSplitter();

            // Act
            IList <TextSpan> words = splitter.SplitAndNormalize("");

            // Assert
            Assert.AreEqual(0, words.Count);
        }
        public void SplitBlankString()
        {
            // Arrange
            var splitter = new SpellingWordSplitter();

            // Act
            IList<TextSpan> words = splitter.SplitAndNormalize("");

            // Assert
            Assert.AreEqual(0, words.Count);
        }
        public void SplitOneWord()
        {
            // Arrange
            var          splitter = new SpellingWordSplitter();
            const string input    = "one";

            // Act
            IList <TextSpan> words = splitter.SplitAndNormalize(input);

            // Assert
            Assert.AreEqual(1, words.Count);
            Assert.AreEqual(input, words[0].GetText(input));
        }
        public void SplitOneWord()
        {
            // Arrange
            var splitter = new SpellingWordSplitter();
            const string input = "one";

            // Act
            IList<TextSpan> words = splitter.SplitAndNormalize(input);

            // Assert
            Assert.AreEqual(1, words.Count);
            Assert.AreEqual(input, words[0].GetText(input));
        }