Пример #1
0
        public void disjoint_point()
        {
            IRelatableDisjoint <Point2> a = new Point2(1, 2);

            Assert.True(a.Disjoint(new Point2(3, 4)));
            Assert.False(a.Disjoint(new Point2(1, 2)));
            Assert.True(a.Disjoint(new Point2(1, 3)));
        }
Пример #2
0
        public void disjoint_point() {
            IRelatableDisjoint<Point2> a = new Point2(1, 2);

            Assert.True(a.Disjoint(new Point2(3, 4)));
            Assert.False(a.Disjoint(new Point2(1, 2)));
            Assert.True(a.Disjoint(new Point2(1, 3)));
        }