src/GenFx.Components.Tests/ListEntityBaseTest.cs
/// <summary>
/// Tests that the <see cref="ListEntityBase.CompareTo"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void ListEntityBase_CompareTo_Equal()
        {
            TestEntity entity1 = new TestEntity
            {
                1,
                null,
                2,
                null
            };
            TestEntity entity2 = new TestEntity
            {
                1,
                null,
                2,
                null
            };
            int result = entity1.CompareTo(entity2);
            Assert.Equal(0, result);
        }
[ Fact ] public void ListEntityBase_CompareTo_Equal ( ) { TestEntity entity1 = new TestEntity { 1 , null , 2 , null } ; TestEntity entity2 = new TestEntity { 1 , null , 2 , null } ; int result = entity1 . CompareTo ( entity2 ) ; Assert . Equal ( 0 , result ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .