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/08/14 23:46:45 UTC
[incubator-datasketches-cpp] 04/07: disabled print
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch tuple_sketch
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git
commit bae2fb029391acec38595d1f080ae3c37a43595e
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Wed Aug 12 15:33:24 2020 -0700
disabled print
---
tuple/test/tuple_union_test.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tuple/test/tuple_union_test.cpp b/tuple/test/tuple_union_test.cpp
index 38289fd..00127ea 100644
--- a/tuple/test/tuple_union_test.cpp
+++ b/tuple/test/tuple_union_test.cpp
@@ -29,7 +29,7 @@ TEST_CASE("tuple_union float: empty", "[tuple union]") {
auto u = tuple_union<float>::builder().build();
u.update(update_sketch);
auto result = u.get_result();
- std::cout << result.to_string(true);
+// std::cout << result.to_string(true);
REQUIRE(result.is_empty());
REQUIRE(result.get_num_retained() == 0);
REQUIRE(!result.is_estimation_mode());
@@ -38,14 +38,14 @@ TEST_CASE("tuple_union float: empty", "[tuple union]") {
TEST_CASE("tuple_union float: non-empty no retained entries", "[tuple union]") {
auto update_sketch = update_tuple_sketch<float>::builder().set_p(0.001).build();
- std::cout << update_sketch.to_string();
+// std::cout << update_sketch.to_string();
update_sketch.update(1, 1);
REQUIRE(!update_sketch.is_empty());
REQUIRE(update_sketch.get_num_retained() == 0);
auto u = tuple_union<float>::builder().build();
u.update(update_sketch);
auto result = u.get_result();
- std::cout << result.to_string(true);
+// std::cout << result.to_string(true);
REQUIRE(!result.is_empty());
REQUIRE(result.get_num_retained() == 0);
REQUIRE(result.is_estimation_mode());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org