src/GenFx.Tests/GeneticEntityTest.cs
/// <summary>
/// Tests that an exception is thrown when a null algorithm is passed.
/// </summary>
Tests that an exception is thrown when a null algorithm is passed.
Tests that an exception is thrown when a null algorithm is passed .
[Fact]
        public void Entity_Ctor_NullAlgorithm()
        {
            MockEntity entity = new MockEntity();
            Assert.Throws<ArgumentNullException>(() => entity.Initialize(null));
        }
[ Fact ] public void Entity_Ctor_NullAlgorithm ( ) { MockEntity entity = new MockEntity ( ) ; Assert . Throws < ArgumentNullException > ( ( ) => entity . Initialize ( null ) ) ; }
Tests that an exception is thrown when a null algorithm is passed.
Tests that an exception is thrown when a null algorithm is passed .