Fix wt-tree balancing. Add some trivial tests.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 24 Jan 2011 14:26:36 +0000 (14:26 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 24 Jan 2011 14:26:36 +0000 (14:26 +0000)
commitfa7ec497241664b891e2b57c8330b47e6c8ede11
tree5b0ec7377a5f9874d771486d3aaf40b9a72208d6
parent562020fdf80823b5825ad901e208b10a4d3b058b
Fix wt-tree balancing.  Add some trivial tests.

Thanks to Yoichi Hirai and Kazuhiko Yamamoto for analyzing the nature
of the bug and finding a good fix.

The trivial tests are enough to catch trivial errors, and one
manifestation of the balancing bug, but they should be replaced by a
more comprehensive test suite later.
src/runtime/runtime.pkg
src/runtime/wttree.scm
tests/runtime/test-wttree.scm [new file with mode: 0644]