src/GenFx.Tests/GeneticEntityCollectionExtensionsTest.cs
/// <summary>
/// Tests that an exception is thrown when passing an invalid fitness evaluation mode to <see cref="GeneticEntityCollectionExtensions.GetEntitiesSortedByFitness"/>.
/// </summary>
Tests that an exception is thrown when passing an invalid fitness evaluation mode to .
Tests that an exception is thrown when passing an invalid fitness evaluation mode to .
[Fact]
        public void GeneticEntityCollectionExtensions_GetEntitiesSortedByFitness_InvalidFitnessEvaluationMode()
        {
            Assert.Throws<ArgumentException>(() => GeneticEntityCollectionExtensions.GetEntitiesSortedByFitness(new GeneticEntity[0], FitnessType.Raw, (FitnessEvaluationMode)5));
        }
[ Fact ] public void GeneticEntityCollectionExtensions_GetEntitiesSortedByFitness_InvalidFitnessEvaluationMode ( ) { Assert . Throws < ArgumentException > ( ( ) => GeneticEntityCollectionExtensions . GetEntitiesSortedByFitness ( new GeneticEntity [ 0 ] , FitnessType . Raw , ( FitnessEvaluationMode ) 5 ) ) ; }
Tests that an exception is thrown when passing an invalid fitness evaluation mode to .
Tests that an exception is thrown when passing an invalid fitness evaluation mode to .