src/GenFx.Components.Tests/ListShiftMutationOperatorTest.cs
/// <summary>
/// Tests the result of <see cref="ListShiftMutationOperator.GenerateMutation"/> when no mutation occurs.
/// </summary>
Tests the result of  when no mutation occurs.
Tests the result of when no mutation occurs .
[Fact]
        public void ListShiftMutationOperator_GenerateMutation_NoMutation()
        {
            ListShiftMutationOperator op = new ListShiftMutationOperator
            {
                MutationRate = 0
            };
            PrivateObject accessor = new PrivateObject(op);
            bool result = (bool)accessor.Invoke("GenerateMutation", new IntegerListEntity());
            Assert.False(result);
        }
[ Fact ] public void ListShiftMutationOperator_GenerateMutation_NoMutation ( ) { ListShiftMutationOperator op = new ListShiftMutationOperator { MutationRate = 0 } ; PrivateObject accessor = new PrivateObject ( op ) ; bool result = ( bool ) accessor . Invoke ( " " , new IntegerListEntity ( ) ) ; Assert . False ( result ) ; }
Tests the result of  when no mutation occurs.
Tests the result of when no mutation occurs .