src/GenFx.Tests/GeneticComponentExtensionsTest.cs
/// <summary>
/// Tests that an exception is thrown when a null component is passed to <see cref="GeneticComponentExtensions.CreateNewAndInitialize" />.
/// </summary>
Tests that an exception is thrown when a null component is passed to .
Tests that an exception is thrown when a null component is passed to .
[Fact]
        public void GeneticComponentExtensions_CreateNewAndInitialize_NullComponent()
        {
            Assert.Throws<ArgumentNullException>(() => GeneticComponentExtensions.CreateNewAndInitialize(null));
        }
[ Fact ] public void GeneticComponentExtensions_CreateNewAndInitialize_NullComponent ( ) { Assert . Throws < ArgumentNullException > ( ( ) => GeneticComponentExtensions . CreateNewAndInitialize ( null ) ) ; }
Tests that an exception is thrown when a null component is passed to .
Tests that an exception is thrown when a null component is passed to .