Skip to content

Commit

Permalink
Test: Address TDIGEST.BYREVRANK changes (#3168)
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 authored Oct 14, 2022
1 parent c2e101b commit ec6ad55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void rankCommands() {
assertEquals(Arrays.asList(1l, 2l), client.tdigestRank(key, 2d, 4d));
assertEquals(Arrays.asList(0l, 1l), client.tdigestRevRank(key, 5d, 4d));
assertEquals(Arrays.asList(2d, 3d), client.tdigestByRank(key, 0l, 1l));
assertEquals(Arrays.asList(5d, 3d), client.tdigestByRevRank(key, 1l, 2l));
assertEquals(Arrays.asList(5d, 3d), client.tdigestByRevRank(key, 0l, 1l));
}
//
// private static KeyValue<Double, Long> randomValueWeight() {
Expand Down

0 comments on commit ec6ad55

Please sign in to comment.