Exemplo n.º 1
0
        public void Test3()
        {
            int i = 0;

            while (i < this.testData3_sc.Length)
            {
                double v1 = this.testData3_sc[i++];
                double s1 = ClothoUtils.FresnelS(v1);
                double c1 = ClothoUtils.FresnelC(v1);

                double s2 = this.testData3_sc[i++];
                double c2 = this.testData3_sc[i++];

                Assert.IsTrue(s1.EpsilonEquals(s2));
                Assert.IsTrue(c1.EpsilonEquals(c2));
            }
        }