示例#1
0
        public void String_hi_world()
        {
            var expected = new List <string> {
                "Hi word", "hI word", "hi Word", "hi wOrd", "hi woRd", "hi worD"
            };
            var actual = MexicanWave.WaveString("hi word");

            CollectionAssert.AreEqual(expected, actual);
        }
示例#2
0
        public void String_ab_Return_Ab_aB()
        {
            var expected = new List <string> {
                "Ab", "aB"
            };
            var actual = MexicanWave.WaveString("ab");

            CollectionAssert.AreEqual(expected, actual);
        }
示例#3
0
        public void String_abcd_Return_Abcd_aBcd_abCd_abcD()
        {
            var expected = new List <string> {
                "Abcd", "aBcd", "abCd", "abcD"
            };
            var actual = MexicanWave.WaveString("abcd");

            CollectionAssert.AreEqual(expected, actual);
        }
示例#4
0
        public void String_aa_Return_Aa_aA()
        {
            var expected = new List <string> {
                "Aa", "aA"
            };
            var actual = MexicanWave.WaveString("aa");

            CollectionAssert.AreEqual(expected, actual);
        }