public void ComputeProbabilityConsideringParentsTest_3()
        {
            GenericNode node = new GenericNode("Gripa");

            node.LoadProbabilitiesFromMatrix();
            node.SetProbabilities(true);
            node.Status = Status.False;
            double val = node.ComputeProbabilityConsideringParents();

            Assert.AreEqual(0.9, val);
        }
        public void ComputeProbabilityConsideringParentsTest_6()
        {
            GenericNode node = new GenericNode("Oboseala");

            node.LoadProbabilitiesFromMatrix();
            node.SetProbabilities(true);
            node.Status = Status.True;
            node.ListOfParents.Add(new GenericNode("Febra"));
            node.ListOfParents.ElementAt(0).Status = Status.True;
            double val = node.ComputeProbabilityConsideringParents();

            Assert.AreEqual(0.6, val);
        }