Skip to content

Commit 7c13712

Browse files
committed
Fix TDigestTest
1 parent eff2b0e commit 7c13712

File tree

1 file changed

+1
-1
lines changed
  • redisbloom/src/test/java/io/github/dengliming/redismodule/redisbloom

1 file changed

+1
-1
lines changed

redisbloom/src/test/java/io/github/dengliming/redismodule/redisbloom/TDigestTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public void testRank() {
177177
new AbstractMap.SimpleEntry<>(3.0, 1.0)
178178
))).isTrue();
179179

180-
assertThat(tDigest.rank(1, 3)).containsExactly(2, 6);
180+
assertThat(tDigest.rank(1, 3)).containsExactly(2, 5);
181181
assertThat(tDigest.revRank(1, 3)).containsExactly(4, 0);
182182
assertThat(tDigest.byRank(0, 1)).containsExactly(1.0d, 1.0d);
183183
assertThat(tDigest.byRevRank(2, 3)).containsExactly(1.0d, 1.0d);

0 commit comments

Comments
 (0)