[root]/UNIT_TESTER/run/diff
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
westram | 8 (100.0%) | 4 (100.0%) | 0.5 |
* reintegrates 'unittest' into 'trunk'
- fixed non-deterministic behavior of add-species:
* 2 sequences in test-DB were identical (changed 1 bp)
* {{{AP_tree_edge}}} cannot be used to store insert-positions (uses pair of {{{AP_tree_nlen}}} instead)
* corrected some undefined behavior (results did depend on compiler version+flags):
- general order of inserts was undefined
- order of initial-insert was undefined (used by complete tree reconstruction)
- bugs fixed:
* not all possible insert-positions were tested
* sometimes species were added at wrong positions
* if multiple species were inserted at the same position, the following optimization
- did modify topology
- now optimizes all multi-inserts globally
- at leaf-positions: includes the leaf (Note: this does not modify the original topology)
* insert order now is "longest sequence first" (was "shortest sequence first")
- fixed unwanted behavior when testing for content of generated files
* adds: log:branches/unittest@16807:16860
4 lines of code changed in 8 files: