src/GenFx.Tests/CrossoverOperatorTest.cs
/// <summary>
/// Tests that an exception is thrown when an invalid value is used for the CrossoverRate setting.
/// </summary>
Tests that an exception is thrown when an invalid value is used for the CrossoverRate setting.
Tests that an exception is thrown when an invalid value is used for the CrossoverRate setting .
[Fact]
        public void CrossoverOperator_Ctor_InvalidSetting1()
        {
            FakeCrossoverOperator config = new FakeCrossoverOperator();
            Assert.Throws<ValidationException>(() => config.CrossoverRate = 2);
        }
[ Fact ] public void CrossoverOperator_Ctor_InvalidSetting1 ( ) { FakeCrossoverOperator config = new FakeCrossoverOperator ( ) ; Assert . Throws < ValidationException > ( ( ) => config . CrossoverRate = 2 ) ; }
Tests that an exception is thrown when an invalid value is used for the CrossoverRate setting.
Tests that an exception is thrown when an invalid value is used for the CrossoverRate setting .