src/GenFx.Tests/MetricResultTest.cs
/// <summary>
/// Tests that an exception is thrown when passing an invalid generation index to the <see cref="MetricResult"/> constructor.
/// </summary>
Tests that an exception is thrown when passing an invalid generation index to the  constructor.
Tests that an exception is thrown when passing an invalid generation index to the constructor .
[Fact]
        public void MetricResult_Ctor_InvalidGenerationIndex()
        {
            Assert.Throws<ArgumentOutOfRangeException>(() => new MetricResult(-1, 0, 0, new MockMetric()));
        }
[ Fact ] public void MetricResult_Ctor_InvalidGenerationIndex ( ) { Assert . Throws < ArgumentOutOfRangeException > ( ( ) => new MetricResult ( - 1 , 0 , 0 , new MockMetric ( ) ) ) ; }
Tests that an exception is thrown when passing an invalid generation index to the  constructor.
Tests that an exception is thrown when passing an invalid generation index to the constructor .