src/GenFx.Tests/GeneticEntityCollectionExtensionsTest.cs
/// <summary>
/// Tests that an exception is thrown when passing a null collection to <see cref="GeneticEntityCollectionExtensions.GetEntitiesSortedByFitness"/>.
/// </summary>
Tests that an exception is thrown when passing a null collection to .
Tests that an exception is thrown when passing a null collection to .
[Fact]
        public void GeneticEntityCollectionExtensions_GetEntitiesSortedByFitness_NullCollection()
        {
            Assert.Throws<ArgumentNullException>(() => GeneticEntityCollectionExtensions.GetEntitiesSortedByFitness(null, FitnessType.Raw, FitnessEvaluationMode.Maximize));
        }
[ Fact ] public void GeneticEntityCollectionExtensions_GetEntitiesSortedByFitness_NullCollection ( ) { Assert . Throws < ArgumentNullException > ( ( ) => GeneticEntityCollectionExtensions . GetEntitiesSortedByFitness ( null , FitnessType . Raw , FitnessEvaluationMode . Maximize ) ) ; }
Tests that an exception is thrown when passing a null collection to .
Tests that an exception is thrown when passing a null collection to .