public void CombinedWith_including_0_probability_equals_zero()
        {
            var p0 = new Probability(0m);
            var p050 = new Probability(0.5m);
            var p1 = new Probability(1m);

            var expectedResult = new Probability(0m);
            Assert.AreEqual(expectedResult, p0.CombinedWith(p1));
            Assert.AreEqual(expectedResult, p1.CombinedWith(p0));
            Assert.AreEqual(expectedResult, p050.CombinedWith(p0));
            Assert.AreEqual(expectedResult, p0.CombinedWith(p050));
        }
        public void CombinedWith_1_and_1_equals_1()
        {
            var p1 = new Probability(1m);
            var p2 = new Probability(1m);

            Assert.AreEqual(new Probability(1m), p1.CombinedWith(p2));
            Assert.AreEqual(new Probability(1m), p2.CombinedWith(p1));
        }
        public void CombinedWith_0_25_and_0_75_equals_0_1875()
        {
            var p1 = new Probability(0.25m);
            var p2 = new Probability(0.75m);

            Assert.AreEqual(new Probability(0.1875m), p1.CombinedWith(p2));
            Assert.AreEqual(new Probability(0.1875m), p2.CombinedWith(p1));
        }