Accord.Tests.Statistics.GammaDistributionTest.NegativeValueTest C# (CSharp) Method

NegativeValueTest() private method

private NegativeValueTest ( ) : void
return void
        public void NegativeValueTest()
        {
            double[] samples = NormalDistribution.Standard.Generate(100);

            try
            {
                GammaDistribution.Estimate(samples);
                Assert.Fail();
            }
            catch (ArgumentException)
            {

            }
        }