Esempio n. 1
0
        public void TestDistance()
        {
            var testSubject00 = new LinearEquation(-1, 2);
            var testSubject01 = new LinearEquation(1, 0);
            var testResult    = testSubject00.GetDistance(testSubject01);

            Console.WriteLine(testResult);
            Assert.IsTrue(2.828427 - testResult < 0.0001);
        }