From a52fa4a75cbc41d2ea7f1f484b12d39ee4ff910f Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Fri, 8 May 2020 15:58:56 +0200 Subject: Test roundtrip serialization of total value count and unique value count. --- .../src/tests/attribute/attribute_header/attribute_header_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/searchlib/src/tests/attribute/attribute_header/attribute_header_test.cpp b/searchlib/src/tests/attribute/attribute_header/attribute_header_test.cpp index 0f542d016a9..1e89fbe7501 100644 --- a/searchlib/src/tests/attribute/attribute_header/attribute_header_test.cpp +++ b/searchlib/src/tests/attribute/attribute_header/attribute_header_test.cpp @@ -56,6 +56,8 @@ verify_roundtrip_serialization(const HnswIPO& hnsw_params_in) EXPECT_EQ(tensor_type, attr_header.getTensorType()); EXPECT_EQ(num_docs, attr_header.getNumDocs()); EXPECT_EQ(create_serial_num, attr_header.getCreateSerialNum()); + EXPECT_EQ(total_value_count, attr_header.get_total_value_count()); + EXPECT_EQ(unique_value_count, attr_header.get_unique_value_count()); EXPECT_EQ(version, attr_header.getVersion()); EXPECT_EQ(false, attr_header.getPredicateParamsSet()); const auto& hnsw_params_out = attr_header.get_hnsw_index_params(); -- cgit v1.2.3