Ejemplo n.º 1
0
        public void contains_point()
        {
            IRelatableContains <Point2> a = new Point2(1, 2);

            Assert.False(a.Contains(new Point2(3, 4)));
            Assert.True(a.Contains(new Point2(1, 2)));
            Assert.False(a.Contains(new Point2(1, 3)));
        }
Ejemplo n.º 2
0
        public void contains_point() {
            IRelatableContains<Point2> a = new Point2(1, 2);

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