public void MeanTest3() { var target = new JointDistribution(new[] { 2 }, new [] { 0.5, 0.5 }); double expected = (2.0 + 3.0) / 2.0; double actual = target.Mean[0]; Assert.AreEqual(expected, actual); }