You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2020/10/22 21:03:14 UTC
[incubator-datasketches-java] 01/01: pass allocator
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch req_sketch_to_string
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git
commit 4bd37090656fdee34afedc8e0c9d4d4d0f5ef55a
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Thu Oct 22 14:03:01 2020 -0700
pass allocator
---
src/test/java/org/apache/datasketches/req/ReqSketchTest.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/test/java/org/apache/datasketches/req/ReqSketchTest.java b/src/test/java/org/apache/datasketches/req/ReqSketchTest.java
index c78f7eb..f74a716 100644
--- a/src/test/java/org/apache/datasketches/req/ReqSketchTest.java
+++ b/src/test/java/org/apache/datasketches/req/ReqSketchTest.java
@@ -288,4 +288,11 @@ public class ReqSketchTest {
System.out.println(o.toString());
}
+ @Test
+ public void test() {
+ ReqSketch sk = new ReqSketch(100, true);
+ final int n = 800;
+ for (int i = 0; i < n; i++) sk.update(i);
+ System.out.println(sk.toString());
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org