src/GenFx.Tests/GeneticEntityTest.cs
/// <summary>
/// Tests that an exception is thrown when passing a non entity to <see cref="GeneticEntity.CompareTo(object)"/>.
/// </summary>
Tests that an exception is thrown when passing a non entity to .
Tests that an exception is thrown when passing a non entity to .
[Fact]
        public void GeneticEntity_CompareTo_InvalidEntity()
        {
            TestEntity entity = new TestEntity();
            Assert.Throws<ArgumentException>(() => entity.CompareTo((object)"test"));
        }
[ Fact ] public void GeneticEntity_CompareTo_InvalidEntity ( ) { TestEntity entity = new TestEntity ( ) ; Assert . Throws < ArgumentException > ( ( ) => entity . CompareTo ( ( object ) " " ) ) ; }
Tests that an exception is thrown when passing a non entity to .
Tests that an exception is thrown when passing a non entity to .