Exemple #1
0
        public void Test2()
        {
            string         testString    = "  home12 home1 home2 home123 home1234 home3 home123456";
            IStringHandler stringHandler = new StringHandler();

            string[] outputArr = stringHandler.FindSmallestWords(testString);

            Assert.Equal(3, outputArr.Length);
            Assert.Equal("home2", outputArr[1]);
        }