Beispiel #1
0
        public void TestMethod4()
        {
            var a = new Line(-1, 0);
            var b = new Line(1, 0);
            var c = new point((double)0, (double)0);

            Assert.AreEqual(c.GetType(), Operations.Cross(a, b).GetType());
        }
Beispiel #2
0
        public void TestMethod3()
        {
            var a = new Line(1, 1);
            var b = new Line(1, 1);
            var c = new point(1, 1);

            Assert.AreEqual(c.GetType(), Operations.Cross(a, b).GetType());
        }
Beispiel #3
0
        public void TestMethod2()
        {
            var a = new Line(-1, 1);
            var b = new Line(1, 2);
            var c = new point((double)-0.5, (double)1.5);

            Assert.AreEqual(c.GetType(), Operations.Cross(a, b).GetType());
        }