src/GenFx.Tests/MetricTest.cs
/// <summary>
/// Tests that an exception is thrown when a null algorithm is passed.
/// </summary>
Tests that an exception is thrown when a null algorithm is passed.
Tests that an exception is thrown when a null algorithm is passed .
[Fact]
        public void Metric_Ctor_NullAlgorithm()
        {
            MockMetric metric = new MockMetric();
            Assert.Throws<ArgumentNullException>(() => metric.Initialize(null));
        }
[ Fact ] public void Metric_Ctor_NullAlgorithm ( ) { MockMetric metric = new MockMetric ( ) ; Assert . Throws < ArgumentNullException > ( ( ) => metric . Initialize ( null ) ) ; }
Tests that an exception is thrown when a null algorithm is passed.
Tests that an exception is thrown when a null algorithm is passed .