public void SecondOrderPolynomialTest2()
        {
            PolynomialGraph_Accessor target = new PolynomialGraph_Accessor();
            float[] x = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
            float[] y = { 1873, 1546, 1359, 1200, 547, 468, 512, 983, 1569, 1804 };

            float[] actual = target.SecondOrderPolynomial(x, y);
            float[] expected = new float[] { 63.4621212f, -718.9068182f, 2695.596004f };
            for (int i = 0; i < 3; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }
        public void SecondOrderPolynomialTest()
        {
            PolynomialGraph_Accessor target = new PolynomialGraph_Accessor();
            float[] x = { 1, 2, 3, 4 };
            float[] y = { 1, 2, 3, 4 };

            float[] actual = target.SecondOrderPolynomial(x,y);
            float[] expected = new float[] { 0f, 1.00000858f, 0f };
            for (int i = 0; i < 3; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }
        public void SecondOrderPolynomialTest3()
        {
            PolynomialGraph_Accessor target = new PolynomialGraph_Accessor();
            decimal[] x = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
            decimal[] y = { 1873, 1546, 1359, 1200, 547, 468, 512, 983, 1569, 1804 };

            decimal[] actual = target.SecondOrderPolynomial(x, y);
            decimal[] expected = new decimal[] { (decimal)63.462121212121019, (decimal)-725.25303030303257, (decimal)2731.7000000000044 };
            for (int i = 0; i < 3; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }
        public void SecondOrderPolynomialTest2()
        {
            PolynomialGraph_Accessor target = new PolynomialGraph_Accessor();
            decimal[] x = { (decimal)19.8, (decimal)20.8, (decimal)21.8 };
            decimal[] y = { 7917, 8142, 8327 };

            decimal[] actual = target.SecondOrderPolynomial(x, y);
            decimal[] expected = new decimal[] { (decimal)-19.999997738748789, (decimal)1036.9999220371246, (decimal)-4774.7983207702637 };
            for (int i = 0; i < 3; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);

            }
        }
        public void SecondOrderPolynomialTest1()
        {
            PolynomialGraph_Accessor target = new PolynomialGraph_Accessor();
            decimal[] x = { 1, 2, 3, 4 };
            decimal[] y = { 1, 2, 3, 4 };

            decimal[] actual = target.SecondOrderPolynomial(x, y);
            decimal[] expected = new decimal[] { 0, 1, 0 };
            for (int i = 0; i < 3; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);
            }
        }
        public void SecondOrderPolynomialTest2()
        {
            PolynomialGraph_Accessor target = new PolynomialGraph_Accessor();
            double[] x = { 19.8f,20.8f,21.8f};
            double[] y = { 7917f,8142f,8327f};

            double[] actual = target.SecondOrderPolynomial(x, y);
            double[] expected = new double[] { -19.999997738748789,1036.9999220371246,-4774.7983207702637 };
            for (int i = 0; i < 3; i++)
            {
                Assert.AreEqual(expected[i], actual[i]);

            }
        }