public void ConvertToUniqueList_Of_String_Of_Non_Unique_List_Not_By_Case_Considering_Case_Returns_Unique_List()
        {
            Collection <string> nonUniqueList = new Collection <string>()
            {
                "Foo", "Bar", "Moo", "Nar", "Bar", "Foo"
            };
            List <string> resultList = new List <string> {
                "Foo", "Bar", "Moo", "Nar"
            };

            IList <string> uniqueList = new List <string>(ListLibrary.ConvertToUnique(nonUniqueList, caseSensitive: true));

            Assert.IsTrue(uniqueList.Count < nonUniqueList.Count);
            Assert.AreEqual(resultList[0], uniqueList[0]);
            Assert.AreEqual(resultList[1], uniqueList[1]);
            Assert.AreEqual(resultList[2], uniqueList[2]);
            Assert.AreEqual(resultList[3], uniqueList[3]);
        }
        public void ConvertToUniqueList_Of_String_Of_Unique_List_Returns_Original_List()
        {
            Collection <string> originalList = new Collection <string>()
            {
                "Foo", "Bar", "Moo", "Nar"
            };
            List <string> resultList = new List <string> {
                "Foo", "Bar", "Moo", "Nar"
            };

            IList <string> uniqueList = new List <string>(ListLibrary.ConvertToUnique(originalList));

            Assert.IsTrue(uniqueList.Count == originalList.Count);
            Assert.AreEqual(resultList[0], uniqueList[0]);
            Assert.AreEqual(resultList[1], uniqueList[1]);
            Assert.AreEqual(resultList[2], uniqueList[2]);
            Assert.AreEqual(resultList[3], uniqueList[3]);
        }