Skip to content

Commit 3e773a0

Browse files
committed
upadted test file removing some errors
1 parent 07be767 commit 3e773a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/thealgorithms/datastructures/trees/TreapTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void lowerBound() {
4242
treap.insert(3);
4343
treap.insert(8);
4444
treap.insert(1);
45-
assertEquals(5, treap.lowerBound(4));
45+
assertEquals(5, treap.lowerBound(4).value);
4646
}
4747

4848
@Test
@@ -55,7 +55,7 @@ public void upperBound() {
5555
treap.insert(3);
5656
treap.insert(8);
5757
treap.insert(1);
58-
assertEquals(6, treap.upperBound(5));
58+
assertEquals(6, treap.upperBound(5).value);
5959
}
6060

6161
@Test

0 commit comments

Comments
 (0)