diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-03-26 13:50:08 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-03-26 13:50:08 +0000 |
commit | 936ee5af91cf9b873ee35abf8bedf923019fc15a (patch) | |
tree | d386d41a3ef55c73934a486a24df921a40791977 /eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp | |
parent | 33eaada44ae6117c1fccf45188b3c7aa45b75e00 (diff) |
use list_stable_types and list_unstable_types
Diffstat (limited to 'eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp')
-rw-r--r-- | eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp b/eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp index d152d4531c8..a6486de6858 100644 --- a/eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp +++ b/eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp @@ -48,10 +48,10 @@ struct FunInfo { void verify_optimized(const vespalib::string &expr, Primary primary, bool inplace) { // fprintf(stderr, "%s\n", expr.c_str()); - const auto stable_types = CellTypeSpace({CellType::FLOAT, CellType::DOUBLE}, 2); + const CellTypeSpace stable_types(CellTypeUtils::list_stable_types(), 2); FunInfo stable_details{primary, inplace}; TEST_DO(EvalFixture::verify<FunInfo>(expr, {stable_details}, stable_types)); - const auto unstable_types = CellTypeSpace({CellType::BFLOAT16, CellType::INT8}, 2); + const CellTypeSpace unstable_types(CellTypeUtils::list_unstable_types(), 2); TEST_DO(EvalFixture::verify<FunInfo>(expr, {}, unstable_types)); } |