src/GenFx.Tests/ComparisonHelperTest.cs
/// <summary>
/// Tests that the <see cref="ComparisonHelper.CompareLists{T}(IList{T}, IList{T})"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void ComparisonHelper_CompareListsOfT()
        {
            TestCompareListsOfT(0, new List<string> { "4", "2", "5" }, new List<string> { "4", "2", "5" });
            TestCompareListsOfT(-1, new List<string> { "4", "1", "5" }, new List<string> { "4", "2", "5" });
            TestCompareListsOfT(1, new List<string> { "4", "2", "6" }, new List<string> { "4", "2", "5" });
            TestCompareListsOfT(0, new List<string> { null, "2", "5" }, new List<string> { null, "2", "5" });
            TestCompareListsOfT(-1, new List<string> { null, "2", "5" }, new List<string> { "0", "2", "5" });
            TestCompareListsOfT(1, new List<string> { "0", "2", "5" }, new List<string> { null, "2", "5" });
            TestCompareListsOfT(1, new List<string> { "4", "2", "5", "6" }, new List<string> { "4", "2", "5" });
            TestCompareListsOfT(-1, new List<string> { "4", "2", "5" }, new List<string> { "4", "2", "5", "6" });
        }
[ Fact ] public void ComparisonHelper_CompareListsOfT ( ) { TestCompareListsOfT ( 0 , new List < string > { " " , " " , " " } , new List < string > { " " , " " , " " } ) ; TestCompareListsOfT ( - 1 , new List < string > { " " , " " , " " } , new List < string > { " " , " " , " " } ) ; TestCompareListsOfT ( 1 , new List < string > { " " , " " , " " } , new List < string > { " " , " " , " " } ) ; TestCompareListsOfT ( 0 , new List < string > { null , " " , " " } , new List < string > { null , " " , " " } ) ; TestCompareListsOfT ( - 1 , new List < string > { null , " " , " " } , new List < string > { " " , " " , " " } ) ; TestCompareListsOfT ( 1 , new List < string > { " " , " " , " " } , new List < string > { null , " " , " " } ) ; TestCompareListsOfT ( 1 , new List < string > { " " , " " , " " , " " } , new List < string > { " " , " " , " " } ) ; TestCompareListsOfT ( - 1 , new List < string > { " " , " " , " " } , new List < string > { " " , " " , " " , " " } ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .