@Test
	public void testCount() throws InterruptedException {
		// NOTE: This test is made also to cover the visitation logic.
		assertTrue(obj.map.isEmpty());

		try (Transaction tx = obj.openTransaction("AddPoints")) {
			for (Entry<IntRect, String> ent : generatePoints(rect(1, 12, 1, 12))) {
				obj.map.put(ent.getKey(), ent.getValue());
			}
		}

		//obj.tree.onScreen();
		//Thread.sleep(Long.MAX_VALUE);

		assertEquals(72, obj.map.reduce(IntRectQuery.enclosed(rect(1, 6, 1, 12))).size());
		assertFalse(obj.map.reduce(IntRectQuery.enclosed(rect(1, 6, 1, 12))).isEmpty());
		assertEquals(1, obj.map.reduce(IntRectQuery.enclosed(rect(6, 6, 6, 6))).size());
		assertFalse(obj.map.reduce(IntRectQuery.enclosed(rect(6, 6, 6, 6))).isEmpty());
		assertEquals(0, obj.map.reduce(IntRectQuery.enclosed(rect(20, 100, 20, 100))).size());
		assertTrue(obj.map.reduce(IntRectQuery.enclosed(rect(20, 100, 20, 100))).isEmpty());
	}
@throws InterruptedException maybe when Thread.sleep is uncommented
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/spatial/RStarTreeMapTest.java