aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/features/imported_dot_product/imported_dot_product_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/features/imported_dot_product/imported_dot_product_test.cpp')
-rw-r--r--searchlib/src/tests/features/imported_dot_product/imported_dot_product_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/searchlib/src/tests/features/imported_dot_product/imported_dot_product_test.cpp b/searchlib/src/tests/features/imported_dot_product/imported_dot_product_test.cpp
index 72613cd0fd4..a32d52d06a0 100644
--- a/searchlib/src/tests/features/imported_dot_product/imported_dot_product_test.cpp
+++ b/searchlib/src/tests/features/imported_dot_product/imported_dot_product_test.cpp
@@ -94,6 +94,7 @@ struct FixtureBase : ImportedAttributeFixture {
struct ArrayFixture : FixtureBase {
+ ~ArrayFixture() override;
void setup_integer_mappings(BasicType int_type) override {
reset_with_array_value_reference_mappings<IntegerAttribute, int64_t>(
int_type,
@@ -168,6 +169,8 @@ struct ArrayFixture : FixtureBase {
}
};
+ArrayFixture::~ArrayFixture() = default;
+
TEST_F("Dense i32/i64 array dot products can be evaluated with string parameter", ArrayFixture) {
f.check_all_integer_executions(2*2 + 3*3 + 5*4, "[2 3 4]", DocId(1));
}
@@ -261,8 +264,11 @@ struct WsetFixture : FixtureBase {
int_type,
{{DocId(3), dummy_gid(7), DocId(7), doc7_values}});
}
+ ~WsetFixture() override;
};
+WsetFixture::~WsetFixture() = default;
+
TEST_F("i32/i64 wset dot products can be evaluated with string parameter", WsetFixture) {
f.check_all_integer_executions(21*7 + 19*13, "{200:21,300:19,999:1234}", DocId(3));
}