src/GenFx.Components.Tests/InversionOperatorTest.cs
/// <summary>
/// Tests that the <see cref="InversionOperator.GenerateMutation"/> method works correctly
/// when no mutation occurs.
/// </summary>
Tests that the  method works correctly
when no mutation occurs.
Tests that the method works correctly when no mutation occurs .
[Fact]
        public void InversionOperator_GenerateMutation_NoMutation()
        {
            InversionOperator op = new InversionOperator
            {
                MutationRate = 0
            };
            PrivateObject accessor = new PrivateObject(op);
            bool result = (bool)accessor.Invoke("GenerateMutation", new BinaryStringEntity());
            Assert.False(result);
        }
[ Fact ] public void InversionOperator_GenerateMutation_NoMutation ( ) { InversionOperator op = new InversionOperator { MutationRate = 0 } ; PrivateObject accessor = new PrivateObject ( op ) ; bool result = ( bool ) accessor . Invoke ( " " , new BinaryStringEntity ( ) ) ; Assert . False ( result ) ; }
Tests that the  method works correctly
when no mutation occurs.
Tests that the method works correctly when no mutation occurs .