示例#1
0
        public void intersects_point_test()
        {
            IRelatableIntersects <Point3> a = new Point3(1, 2, 3);

            Assert.False(a.Intersects(new Point3(3, 4, 5)));
            Assert.True(a.Intersects(new Point3(1, 2, 3)));
            Assert.False(a.Intersects(new Point3(1, 3, 5)));
        }
示例#2
0
        public void intersects_point_test() {
            IRelatableIntersects<Point3> a = new Point3(1, 2, 3);

            Assert.False(a.Intersects(new Point3(3, 4, 5)));
            Assert.True(a.Intersects(new Point3(1, 2, 3)));
            Assert.False(a.Intersects(new Point3(1, 3, 5)));
        }