src/GenFx.Tests/ComparisonHelperTest.cs
/// <summary>
/// Tests that the <see cref="ComparisonHelper.CompareObjects"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void ComparisonHelper_CompareObjects()
        {
            Assert.Equal(0, ComparisonHelper.CompareObjects(null, null));
            Assert.Equal(-1, ComparisonHelper.CompareObjects(null, 1));
            Assert.Equal(1, ComparisonHelper.CompareObjects(1, null));
            Assert.Equal(0, ComparisonHelper.CompareObjects(1, 1));
            Assert.Equal(-1, ComparisonHelper.CompareObjects(1, 2));
            Assert.Equal(1, ComparisonHelper.CompareObjects(2, 1));
        }
[ Fact ] public void ComparisonHelper_CompareObjects ( ) { Assert . Equal ( 0 , ComparisonHelper . CompareObjects ( null , null ) ) ; Assert . Equal ( - 1 , ComparisonHelper . CompareObjects ( null , 1 ) ) ; Assert . Equal ( 1 , ComparisonHelper . CompareObjects ( 1 , null ) ) ; Assert . Equal ( 0 , ComparisonHelper . CompareObjects ( 1 , 1 ) ) ; Assert . Equal ( - 1 , ComparisonHelper . CompareObjects ( 1 , 2 ) ) ; Assert . Equal ( 1 , ComparisonHelper . CompareObjects ( 2 , 1 ) ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .