Use external red/black tree package

This commit is contained in:
Derek Parker
2014-08-07 11:03:42 -05:00
parent d977810626
commit 0af47b64ce
4 changed files with 37 additions and 105 deletions

View File

@ -19,12 +19,12 @@ func TestFDEForPC(t *testing.T) {
tree.Put(fde3)
tree.Put(fde4)
fde, ok := tree.Find(35)
node, ok := tree.Find(Addr(35))
if !ok {
t.Fatal("Could not find FDE")
}
if fde != fde3 {
if node != fde3 {
t.Fatal("Got incorrect fde")
}
}