Skip to content

Commit

Permalink
formatting in simd-contains test
Browse files Browse the repository at this point in the history
Reviewed By: Gownta

Differential Revision: D64112833

fbshipit-source-id: 4eb222d8451b5e5034bfb722802d4f63830c3895
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Oct 9, 2024
1 parent ec7513e commit d05f99e
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions folly/algorithm/simd/test/ContainsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,18 @@
#include <folly/portability/GTest.h>

namespace folly::simd {
namespace not_invocable_tests {

static_assert(!std::is_invocable_v< //
folly::simd::contains_fn,
std::vector<double>&,
double>);

static_assert(std::is_invocable_v< //
folly::simd::contains_fn,
std::vector<int>&,
int>);

} // namespace not_invocable_tests
static_assert( //
!std::is_invocable_v< //
contains_fn,
std::vector<double>&,
double>);

static_assert( //
std::is_invocable_v< //
contains_fn,
std::vector<int>&,
int>);

template <typename T>
struct ContainsTest : ::testing::Test {};
Expand Down

0 comments on commit d05f99e

Please sign in to comment.