src/GenFx.Components.Tests/ExponentialScalingStrategyTest.cs
/// <summary>
/// Tests that an exception is thrown when passing a null population to <see cref="ExponentialScalingStrategy.UpdateScaledFitnessValues"/>.
/// </summary>
Tests that an exception is thrown when passing a null population to .
Tests that an exception is thrown when passing a null population to .
[Fact]
        public void ExponentialScalingStrategy_UpdateScaledFitnessValues_NullPopulation()
        {
            ExponentialScalingStrategy strategy = new ExponentialScalingStrategy();
            PrivateObject accessor = new PrivateObject(strategy);
            Assert.Throws<ArgumentNullException>(() => accessor.Invoke("UpdateScaledFitnessValues", (Population)null));
        }
[ Fact ] public void ExponentialScalingStrategy_UpdateScaledFitnessValues_NullPopulation ( ) { ExponentialScalingStrategy strategy = new ExponentialScalingStrategy ( ) ; PrivateObject accessor = new PrivateObject ( strategy ) ; Assert . Throws < ArgumentNullException > ( ( ) => accessor . Invoke ( " " , ( Population ) null ) ) ; }
Tests that an exception is thrown when passing a null population to .
Tests that an exception is thrown when passing a null population to .