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

NaiveBayesConstructorTest3() private method

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

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

            Assert.IsTrue(thrown);
        }