Accord.Tests.MachineLearning.NaiveBayesTest.NaiveBayesConstructorTest C# (CSharp) Method

NaiveBayesConstructorTest() private method

private NaiveBayesConstructorTest ( ) : void
return void
        public void NaiveBayesConstructorTest()
        {
            int classes = 0;
            int[] symbols = new int[0];
            bool thrown = false;

            try { new NaiveBayes(classes, symbols); }
            catch { thrown = true; }

            Assert.IsTrue(thrown);
        }