commit | c35bb61824d0e2651653c802071ecd9da31b9d00 | [log] [tgz] |
---|---|---|
author | AlexanderSaydakov <AlexanderSaydakov@users.noreply.github.com> | Wed Jun 30 12:47:12 2021 -0700 |
committer | AlexanderSaydakov <AlexanderSaydakov@users.noreply.github.com> | Wed Jun 30 12:47:12 2021 -0700 |
tree | 67d7aa8cc9cd487438b0a34681812c1937a5b02a | |
parent | 655555642aecd618843f5a47f37653bd47c5b1ca [diff] |
seed mismatch test
diff --git a/theta/test/theta_sketch_test.cpp b/theta/test/theta_sketch_test.cpp index e6534f2..730b904 100644 --- a/theta/test/theta_sketch_test.cpp +++ b/theta/test/theta_sketch_test.cpp
@@ -269,6 +269,9 @@ REQUIRE(*it == entry); ++it; } + + // seed mismatch + REQUIRE_THROWS_AS(wrapped_compact_theta_sketch::wrap(bytes.data(), bytes.size(), 0), std::invalid_argument); } } /* namespace datasketches */