src/GenFx.Tests/GeneticEntityTest.cs
/// <summary>
/// Tests that the <see cref="GeneticEntity.Equals(GeneticEntity)"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void GeneticEntity_EqualsGeneticEntity()
        {
            Assert.False(new TestEntity(1).Equals(new TestEntity()));
            Assert.False(new TestEntity(-1).Equals(new TestEntity()));
            Assert.True(new TestEntity(0).Equals(new TestEntity()));
            Assert.False(new TestEntity(1).Equals((GeneticEntity)null));
        }
[ Fact ] public void GeneticEntity_EqualsGeneticEntity ( ) { Assert . False ( new TestEntity ( 1 ) . Equals ( new TestEntity ( ) ) ) ; Assert . False ( new TestEntity ( - 1 ) . Equals ( new TestEntity ( ) ) ) ; Assert . True ( new TestEntity ( 0 ) . Equals ( new TestEntity ( ) ) ) ; Assert . False ( new TestEntity ( 1 ) . Equals ( ( GeneticEntity ) null ) ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .