@Test
	public void testScanDecrement() throws Exception {

		setInput("100");
		performSearchAll();
		waitForSearch(3);

		List<Address> addrs = addrs(0x1001715, 0x1004100, 0x1004135);
		checkMarkerSet(addrs);

		setValue(addr(0x1004100), 101);
		setValue(addr(0x1004135), 99);

		// only keep values that don't change
		scan(Scanner.DECREASED);
		waitForSearch(1);

		// the address we changed should now be removed from the results
		addrs = addrs(0x1004135);
		checkMarkerSet(addrs);
	}
Tests for the search results "scan" feature
Ghidra/Features/Base/src/test.slow/java/ghidra/features/base/memsearch/MemSearchScanTest.java