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

NaiveBayesConstructorTest2() private method

private NaiveBayesConstructorTest2 ( ) : void
return void
        public void NaiveBayesConstructorTest2()
        {
            int classes = 2;
            int[] symbols = null;
            bool thrown = false;

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

            Assert.IsTrue(thrown);
        }