src/GenFx.Tests/GeneticEntityTest.cs
/// <summary>
/// Tests that an exception is thrown when an invalid fitness type is passed to <see cref="GeneticEntity.GetFitnessValue"/>.
/// </summary>
Tests that an exception is thrown when an invalid fitness type is passed to .
Tests that an exception is thrown when an invalid fitness type is passed to .
[Fact]
        public void GeneticEntity_GetFitnessValue_InvalidFitnessType()
        {
            TestEntity entity = new TestEntity();
            Assert.Throws<ArgumentException>(() => entity.GetFitnessValue((FitnessType)3));
        }
[ Fact ] public void GeneticEntity_GetFitnessValue_InvalidFitnessType ( ) { TestEntity entity = new TestEntity ( ) ; Assert . Throws < ArgumentException > ( ( ) => entity . GetFitnessValue ( ( FitnessType ) 3 ) ) ; }
Tests that an exception is thrown when an invalid fitness type is passed to .
Tests that an exception is thrown when an invalid fitness type is passed to .