Пример #1
0
        public void ConvertArray_ConvertToList_Array()
        {
            char[]      testArray   = { 'f', 'm' };
            Anagram     newAnalgram = new Anagram("any string");
            List <char> testList    = new List <char>()
            {
                'f',
                'u'
            };
            List <char> actualList = newAnalgram.ArrayToList(testArray);

            CollectionAssert.AreEqual(actualList, testList);
        }