예제 #1
0
        public void ClearText_VariousWords_CleanText()
        {
            var data   = "Casa roja y azul123";
            var wanted = "casarojayazul";

            var charSoter = new CharSorter(data);

            var result = charSoter.Text;

            Assert.AreEqual(wanted, result);
        }
예제 #2
0
        public void SortedText_VariousWords_SortedText()
        {
            var data   = "Casa roja y azul123";
            var wanted = "aaaacjlorsuyz";

            var charSoter = new CharSorter(data);

            var result = charSoter.SortedText();

            Assert.AreEqual(wanted, result);
        }