public void TestFewValues()
        {
            tree = PointRegionQuadTreeFactory <object> .Make(0, 0, 100, 100);

            Set(tree, 73.32704983331149, 23.46990952575032, "P0");
            Set(tree, 53.09747562396894, 17.100976152185034, "P1");
            Set(tree, 56.75757294858788, 25.508506696809608, "P2");
            Set(tree, 83.66639067675291, 76.53772974832937, "P3");
            Set(tree, 51.01654641861326, 43.49009281983866, "P4");

            var beginX = 50.45945198254618;
            var endX   = 88.31594559038719;

            var beginY = 4.577595744501329;
            var endY   = 22.93393078279351;

            AssertCollect(tree, beginX, beginY, endX - beginX, endY - beginY, "P1");
            AssertCollectAll(tree, "P0,P1,P2,P3,P4");

            Assert.AreEqual("P0", PointRegionQuadTreeFilterIndexGet <object> .Get(73.32704983331149, 23.46990952575032, tree));
            Assert.AreEqual("P1", PointRegionQuadTreeFilterIndexGet <object> .Get(53.09747562396894, 17.100976152185034, tree));
            Assert.AreEqual("P2", PointRegionQuadTreeFilterIndexGet <object> .Get(56.75757294858788, 25.508506696809608, tree));
            Assert.AreEqual("P3", PointRegionQuadTreeFilterIndexGet <object> .Get(83.66639067675291, 76.53772974832937, tree));
            Assert.AreEqual("P4", PointRegionQuadTreeFilterIndexGet <object> .Get(51.01654641861326, 43.49009281983866, tree));
        }
        public void TestGetSetRemove()
        {
            tree = PointRegionQuadTreeFactory <object> .Make(0, 0, 100, 100);

            Assert.IsNull(PointRegionQuadTreeFilterIndexGet <object> .Get(10, 20, tree));
            AssertCollectAll(tree, "");

            PointRegionQuadTreeFilterIndexSet <object> .Set(10, 20, "P0", tree);

            Assert.AreEqual("P0", PointRegionQuadTreeFilterIndexGet <object> .Get(10, 20, tree));
            AssertCollectAll(tree, "P0");

            PointRegionQuadTreeFilterIndexDelete <object> .Delete(10, 20, tree);

            Assert.IsNull(PointRegionQuadTreeFilterIndexGet <object> .Get(10, 20, tree));
            AssertCollectAll(tree, "");
        }