@Test
	public void simpleDiffTest()
			throws ProgramConflictException, IllegalArgumentException, CancelledException {
		assertEquals(p1Insts.size(), p2Insts.size());
		AddressSet testSet = new AddressSet();
		p1Insts.forEach(i -> testSet.add(getBody(i)));
		assertEquals(testSet, p1InstBodies);
		programDiff = new ProgramDiff(p1, p2, p1InstBodies);
		programDiff.setFilter(new ProgramDiffFilter(ProgramDiffFilter.SOURCE_MAP_DIFFS));
		// verify that the differences found by progamDiff.getDifferences are exactly
		// the differences created in the setUp method
		assertEquals(p1DiffInsts,
			programDiff.getDifferences(programDiff.getFilter(), TaskMonitor.DUMMY));
	}
0)  no entries
1)  p1 yes, p2 no
2)  no entries
3)  p1 no,  p2 yes
4)  no entries
5)  files and lines different
6)  no entries
7)  files different, lines not
8)  no entries
9) files agree, lines different
10) no entries
11) files and lines agree
12) no entries
13) p1 two entries two files, p2 one of them
14) no entries
15) p2 two entries two files, p1 one of them
16) no entries
17) p1 two entries one file, p2 two entries one file, one line number diff
18) no entries
19) length difference
20) no entries
21) length 0 entry in p1, nothing in p2
22) no entries
23) nothing in p1, length 0 entry in p2
24) no entries
25) equal length 0 entries
26) no entries
Ghidra/Features/Base/src/test.slow/java/ghidra/program/util/SourceMapDiffTest.java