Exclude negate test for unsigned types in test_max_element
MODIFY
test/test_max_element.cpp
test/test_max_element.cpp
@@ -100,6 +100,10 @@ TYPED_TEST(MaxElementTests, TestMaxElementWithTransform)
using Vector = typename TestFixture::input_type;
using T = typename Vector::value_type;
+ // We cannot use unsigned types for this test case
+ if (std::is_unsigned<T>::value)
+ return;
+
Vector data(6);
data[0] = 3;
data[1] = 5;

Exclude negate test for unsigned types in test_max_element