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 eff2b0e commit 7c13712Copy full SHA for 7c13712
redisbloom/src/test/java/io/github/dengliming/redismodule/redisbloom/TDigestTest.java
@@ -177,7 +177,7 @@ public void testRank() {
177
new AbstractMap.SimpleEntry<>(3.0, 1.0)
178
))).isTrue();
179
180
- assertThat(tDigest.rank(1, 3)).containsExactly(2, 6);
+ assertThat(tDigest.rank(1, 3)).containsExactly(2, 5);
181
assertThat(tDigest.revRank(1, 3)).containsExactly(4, 0);
182
assertThat(tDigest.byRank(0, 1)).containsExactly(1.0d, 1.0d);
183
assertThat(tDigest.byRevRank(2, 3)).containsExactly(1.0d, 1.0d);
0 commit comments