src/GenFx.Tests/GeneticComponentExtensionsTest.cs
/// <summary>
/// Tests that the <see cref="GeneticComponentExtensions.CopyConfigurationStateTo"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void GeneticComponentExtensions_CopyConfigurationStateTo()
        {
            TestComponent source = new TestComponent
            {
                MyProperty = 3
            };
            TestComponent target = new TestComponent();
            GeneticComponentExtensions.CopyConfigurationStateTo(source, target);
            Assert.Equal(source.MyProperty, target.MyProperty);
        }
[ Fact ] public void GeneticComponentExtensions_CopyConfigurationStateTo ( ) { TestComponent source = new TestComponent { MyProperty = 3 } ; TestComponent target = new TestComponent ( ) ; GeneticComponentExtensions . CopyConfigurationStateTo ( source , target ) ; Assert . Equal ( source . MyProperty , target . MyProperty ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .