@Test
	public void testGetValueRangeIterator() {
		SharedRangeMapDB map = new SharedRangeMapDB(dbh, "TEST", this, true);
		System.out.println("testGetValueRangeIterator ---");
		// Add same entries as the testAdd used
		map.add(10, 20, 1);
		map.add(30, 40, 1);
		map.add(50, 60, 1);
		map.add(70, 80, 1);

		map.add(21, 29, 1);

		map.add(35, 55, 1);

		map.add(55, 90, 1);

		map.add(20, 30, 2);

		map.add(28, 35, 3);

		map.add(28, 35, 4);

		map.add(25, 39, 4);

		IndexRangeIterator iter = map.getValueRangeIterator(2);
		IndexRange[] ranges = new IndexRange[] {
			new IndexRange(20, 24),
			new IndexRange(25, 27),
			new IndexRange(28, 30)
		};
		int cnt = 0;
		while (iter.hasNext()) {
			++cnt;
			IndexRange range = iter.next();
			if (indexOf(ranges, range) < 0) {
				Assert.fail("Unexpected range: " + range.getStart() + " - " + range.getEnd());
			}
			System.out.println("  Range: " + range.getStart() + " - " + range.getEnd());
		}
		assertEquals(ranges.length, cnt);

	}
Crude inspection - assumes two records will not contain the same
content.
@param map
@param ranges
@param mapRangeToValue (from is rangeKey, to is value)
@throws IOException
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/util/SharedRangeMapDBTest.java