src/GenFx.Tests/GeneticComponentTest.cs
/// <summary>
/// Verifies that the <see cref="GeneticComponent.ValidateProperty(object, string)"/> method works correctly.
/// </summary>
Verifies that the  method works correctly.
Verifies that the method works correctly .
[Fact]
        public void GeneticComponent_ValidateProperty_Name()
        {
            TestComponent component = new TestComponent();
            component.TestValidateProperty(1, nameof(component.IntValue));
            Assert.Throws<ValidationException>(() => component.TestValidateProperty(11, nameof(component.IntValue)));
        }
[ Fact ] public void GeneticComponent_ValidateProperty_Name ( ) { TestComponent component = new TestComponent ( ) ; component . TestValidateProperty ( 1 , nameof ( component . IntValue ) ) ; Assert . Throws < ValidationException > ( ( ) => component . TestValidateProperty ( 11 , nameof ( component . IntValue ) ) ) ; }
Verifies that the  method works correctly.
Verifies that the method works correctly .
// is valid // is not valid