@@ -59,7 +59,7 @@ public void equalsQueryBound() {
59
59
verifyBound (lowerBound , true , "bar" );
60
60
61
61
Bound upperBound = target .getUpperBound (index );
62
- verifyBound (upperBound , true , "bar" );
62
+ verifyBound (upperBound , false , "bar" );
63
63
}
64
64
65
65
@ Test
@@ -72,7 +72,7 @@ public void lowerThanQueryBound() {
72
72
verifyBound (lowerBound , true , new Object [] {null });
73
73
74
74
Bound upperBound = target .getUpperBound (index );
75
- verifyBound (upperBound , false , "bar" );
75
+ verifyBound (upperBound , true , "bar" );
76
76
}
77
77
78
78
@ Test
@@ -85,7 +85,7 @@ public void lowerThanOrEqualsQueryBound() {
85
85
verifyBound (lowerBound , true , new Object [] {null });
86
86
87
87
Bound upperBound = target .getUpperBound (index );
88
- verifyBound (upperBound , true , "bar" );
88
+ verifyBound (upperBound , false , "bar" );
89
89
}
90
90
91
91
@ Test
@@ -124,7 +124,7 @@ public void containsQueryBound() {
124
124
verifyBound (lowerBound , true , "bar" );
125
125
126
126
Bound upperBound = target .getUpperBound (index );
127
- verifyBound (upperBound , true , "bar" );
127
+ verifyBound (upperBound , false , "bar" );
128
128
}
129
129
130
130
@ Test
@@ -310,7 +310,7 @@ public void endBeforeDoesNotChangeBoundIfNotApplicable() {
310
310
verifyBound (lowerBound , true , null , "b1" );
311
311
312
312
Bound upperBound = target .getUpperBound (index );
313
- verifyBound (upperBound , true , "a1" , "b1" );
313
+ verifyBound (upperBound , false , "a1" , "b1" );
314
314
}
315
315
316
316
@ Test
@@ -324,7 +324,7 @@ public void partialIndexMatchQueryBound() {
324
324
verifyBound (lowerBound , true , "a" );
325
325
326
326
Bound upperBound = target .getUpperBound (index );
327
- verifyBound (upperBound , true , "a" );
327
+ verifyBound (upperBound , false , "a" );
328
328
}
329
329
330
330
private void verifyBound (Bound bound , boolean before , Object ... values ) {
0 commit comments