Skip to content

Commit 60721b9

Browse files
authored
Merge pull request #366 from apache/integration_update
update integration test with density and count_min
2 parents 6a04848 + 73ac3b1 commit 60721b9

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

common/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ target_sources(common_test
7474
# now the integration test part
7575
add_executable(integration_test)
7676

77-
target_link_libraries(integration_test cpc fi hll kll req sampling theta tuple common_test_lib)
77+
target_link_libraries(integration_test count cpc density fi hll kll req sampling theta tuple common_test_lib)
7878

7979
set_target_properties(integration_test PROPERTIES
8080
CXX_STANDARD 11

common/test/integration_test.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919

2020
#include <catch2/catch.hpp>
2121

22+
#include "count_min.hpp"
2223
#include "cpc_sketch.hpp"
2324
#include "cpc_union.hpp"
25+
#include "density_sketch.hpp"
2426
#include "frequent_items_sketch.hpp"
2527
#include "hll.hpp"
2628
#include "kll_sketch.hpp"
@@ -48,9 +50,13 @@ struct subtracting_intersection_policy {
4850
using tuple_intersection_float = tuple_intersection<float, subtracting_intersection_policy<float>>;
4951

5052
TEST_CASE("integration: declare all sketches", "[integration]") {
53+
count_min_sketch<double> cm(5, 128);
54+
5155
cpc_sketch cpc(12);
5256
cpc_union cpc_u(12);
5357

58+
density_sketch<double> ds(32, 3);
59+
5460
frequent_items_sketch<std::string> fi(100);
5561

5662
hll_sketch hll(13);

0 commit comments

Comments
 (0)