libabigail/tests/data/test-core-diff
Dodji Seketeli 997e2d9328 Fix middle snake determination & ses len computation for d == 1
* include/abg-diff-utils.h (compute_middle_snake): After the
	overlap determination happened, finding the middle snake can
	require keep on building the current path until the "end".  The
	end meaning reaching the max of D.  And that max is (M + N)/2 + 1.
	In the extreme cases were middle snake was on the very last step
	(M + N) + 1, we were not finding the middle snake.  Fix this.
	(compute_diff): When d == 1 and the first edge on the edit graph
	is a non-diagonal edge and when a_base != a_begin, we were failing
	to properly initialize x,y to find that non-diagonal edge.  Also
	we were failing to correctly compute the size of the sequence.
	Fix these.
	* tests/test-core-diff.cc: Add a new regression test for the two
	cases above.
	* tests/data/test-core-diff/report7.txt: New reference data for
	the new regression test.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2013-11-19 11:22:56 +01:00
..
report0.txt Initial regression test facility for core diff algorithms 2013-11-19 11:20:03 +01:00
report1.txt Initial regression test facility for core diff algorithms 2013-11-19 11:20:03 +01:00
report2.txt Initial regression test facility for core diff algorithms 2013-11-19 11:20:03 +01:00
report3.txt Fix middle snake determination 2013-11-19 11:20:19 +01:00
report4.txt Fix middle snake determination 2013-11-19 11:20:19 +01:00
report5.txt Fix middle snake determination 2013-11-19 11:20:19 +01:00
report6.txt Fix middle snake determination 2013-11-19 11:20:19 +01:00
report7.txt Fix middle snake determination & ses len computation for d == 1 2013-11-19 11:22:56 +01:00