Exemplo n.º 1
0
        public void TestContainedBy()
        {
            BoundingBox first  = new BoundingBox(180, -180, 180, -180);
            BoundingBox second = new BoundingBox(1, -1, 1, -1);

            Assert.True(second.ContainedBy(first));

            second = new BoundingBox(1000, -1, 1, -1);
            Assert.False(second.ContainedBy(first));
        }