Accord.Tests.Statistics.AnovaTest.FunctionTest3 C# (CSharp) 메소드

FunctionTest3() 개인적인 메소드

private FunctionTest3 ( ) : void
리턴 void
        public void FunctionTest3()
        {
            int s = 5;
            int p = 3;
            Anova target = new Anova(s, p);

            double[] x = new double[] { 5, 4, 3, 1, 1 };
            double[] y = new double[] { 3, 2, 5, 4, 1 };

            double expected = 4277;
            double actual = target.Function(x, y);
            Assert.AreEqual(expected, actual);
        }
    }