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