public void MutuallyNonExclusiveEvents_ThreeProbabilities()
        {
            float expected = 0.825F;
            float eventX   = 0.5F;
            float eventY   = 0.5F;
            float eventZ   = 0.3F;

            ProbabilityCalculator.Library.Probability objProbability = new ProbabilityCalculator.Library.Probability();
            objProbability.eventX = eventX;
            objProbability.eventY = eventY;
            ProbabilityCalculator.Library.ProbabilityWrapper wrapper = new ProbabilityCalculator.Library.ProbabilityWrapper();
            wrapper.SetComponent(objProbability);
            wrapper.eventY = eventZ;

            float probabilityresult = wrapper.Calculate();

            Assert.AreEqual(expected, probabilityresult);
        }
        public void IndependentEvents_ThreeProbabilities()
        {
            float expected = 0.075F;
            float eventX   = 0.5F;
            float eventY   = 0.5F;
            float eventZ   = 0.3F;

            ProbabilityCalculator.Library.Probability objProbability = new ProbabilityCalculator.Library.Probability();
            objProbability.eventX = eventX;
            objProbability.eventY = eventY;
            ProbabilityCalculator.Library.ProbabilityWrapper wrapper = new ProbabilityCalculator.Library.ProbabilityWrapper();
            wrapper.SetComponent(objProbability);
            wrapper.eventY = eventZ;

            float probabilityresult = wrapper.Multiply();

            Assert.AreEqual(expected, probabilityresult);
        }