We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07be767 commit 3e773a0Copy full SHA for 3e773a0
src/test/java/com/thealgorithms/datastructures/trees/TreapTest.java
@@ -42,7 +42,7 @@ public void lowerBound() {
42
treap.insert(3);
43
treap.insert(8);
44
treap.insert(1);
45
- assertEquals(5, treap.lowerBound(4));
+ assertEquals(5, treap.lowerBound(4).value);
46
}
47
48
@Test
@@ -55,7 +55,7 @@ public void upperBound() {
55
56
57
58
- assertEquals(6, treap.upperBound(5));
+ assertEquals(6, treap.upperBound(5).value);
59
60
61
0 commit comments