Accord.Tests.Statistics.JointDistributionTest.MeanTest3 C# (CSharp) Méthode

MeanTest3() private méthode

private MeanTest3 ( ) : void
Résultat void
        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);
        }