Accord.Tests.Statistics.TDistributionTest.FitTest C# (CSharp) Method

FitTest() private method

private FitTest ( ) : void
return void
        public void FitTest()
        {
            bool thrown = false;
            TDistribution target = new TDistribution(1);
            try { target.Fit(null, (double[])null, null); }
            catch (NotSupportedException) { thrown = true; }
            Assert.IsTrue(thrown);
        }