src/GenFx.Tests/ElitismStrategyTest.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 ElitismStrategy_Ctor_NullAlgorithm()
        {
            MockElitismStrategy strategy = new MockElitismStrategy();
            Assert.Throws<ArgumentNullException>(() => strategy.Initialize(null));
        }
[ Fact ] public void ElitismStrategy_Ctor_NullAlgorithm ( ) { MockElitismStrategy strategy = new MockElitismStrategy ( ) ; Assert . Throws < ArgumentNullException > ( ( ) => strategy . 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 .