src/GenFx.Components.Tests/PopulationReplacementValueTest.cs
/// <summary>
/// Tests that an exception is thrown when passing an invalid value to ctor.
/// </summary>
Tests that an exception is thrown when passing an invalid value to ctor.
Tests that an exception is thrown when passing an invalid value to ctor .
[Fact]
        public void PopulationReplacementValue_Ctor_InvalidValue()
        {
            Assert.Throws<ArgumentOutOfRangeException>(() => new PopulationReplacementValue(-1, ReplacementValueKind.Percentage));
        }
[ Fact ] public void PopulationReplacementValue_Ctor_InvalidValue ( ) { Assert . Throws < ArgumentOutOfRangeException > ( ( ) => new PopulationReplacementValue ( - 1 , ReplacementValueKind . Percentage ) ) ; }
Tests that an exception is thrown when passing an invalid value to ctor.
Tests that an exception is thrown when passing an invalid value to ctor .