Пример #1
0
        public void AlphabetiseTest2()
        {
            List <string> words = new List <string> {
                "c", "b", "a", "a", null, null
            };
            List <string> expected = new List <string> {
                null, null, "a", "a", "b", "c"
            };
            List <string> actual = StringUtil.Alphabetise(words);

            ListAssertEqual(expected, actual);
        }
Пример #2
0
 public void AlphabetiseTest3()
 {
     List <string> actual = StringUtil.Alphabetise(null);
 }