From: Francis G. <fr...@ho...> - 2014-08-23 02:25:22
|
Date: Thu, 21 Aug 2014 02:07:51 +0200 From: gri...@kf... To: Joa...@gm... CC: kdi...@li... Subject: [Kdiff3-user] Alignment algorithm improvements! (was: Large set of testdata for alignmenttest) > I have obviously not checked the results of all test cases, but the > samples I took looked like pure improvements. One example: > > Running test with testdata/permutations/perm_02739_*.txt... NOK > Actual result (written to testdata/permutations/perm_02739_actual_result.txt): > ---------------------------------------------------------------------------------------------- > 0 aaa 0 aaa 0 aaa > 1 bbb 1 bbb > 2 ccc 1 ccc > 2 ddd 3 xxxddd 2 ddd > 4 eee > 3 5 3 > ---------------------------------------------------------------------------------------------- > Expected result: > ---------------------------------------------------------------------------------------------- > 0 aaa 0 aaa 0 aaa > 1 bbb 1 bbb > 2 ddd 2 ccc 1 ccc > 3 xxxddd 2 ddd > 4 eee > 3 5 3 > ---------------------------------------------------------------------------------------------- > > As you can see in the old version ddd in file A was not aligned with ddd in file C. > The new version fixes this. I've had this happen to me. It's easy enough to add manual alignment markers... unless there's no corresponding line to mark in the other file (file B here)! Francis Gagné |