Skip to content

Commit

Permalink
Disambiguate PrimitiveTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Aug 3, 2022
1 parent e8992be commit ec53645
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cpp/src/arrow/compute/kernels/scalar_set_lookup_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,12 @@ class TestIsInKernelPrimitive : public ::testing::Test {};
template <typename Type>
class TestIsInKernelBinary : public ::testing::Test {};

using PrimitiveTypes = ::testing::Types<Int8Type, UInt8Type, Int16Type, UInt16Type,
Int32Type, UInt32Type, Int64Type, UInt64Type,
FloatType, DoubleType, Date32Type, Date64Type>;
using PrimitiveTypeCases =
::testing::Types<Int8Type, UInt8Type, Int16Type, UInt16Type, Int32Type, UInt32Type,
Int64Type, UInt64Type, FloatType, DoubleType, Date32Type,
Date64Type>;

TYPED_TEST_SUITE(TestIsInKernelPrimitive, PrimitiveTypes);
TYPED_TEST_SUITE(TestIsInKernelPrimitive, PrimitiveTypeCases);

TYPED_TEST(TestIsInKernelPrimitive, IsIn) {
auto type = TypeTraits<TypeParam>::type_singleton();
Expand Down

0 comments on commit ec53645

Please sign in to comment.