Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kniazkov committed Sep 4, 2024
1 parent 570bc5a commit 9308cf1
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,7 @@ void nodeWasInserted() {
*/
void nodeWasDeleted() {
this.left = this.left - 1;
if (this.delete > 0) {
this.delete = this.delete - 1;
} else {
this.add = this.add + 1;
}
this.delete = this.delete - 1;
}

/**
Expand Down Expand Up @@ -497,11 +493,6 @@ private static class Child {
this.before = before;
this.after = after;
}

@Override
public String toString() {
return this.node.toString();
}
}
}

0 comments on commit 9308cf1

Please sign in to comment.