oneDPL icon indicating copy to clipboard operation
oneDPL copied to clipboard

[test] Remove extra overloads of `operator()` in tests

Open SergeyKopienko opened this issue 1 year ago • 0 comments

In this PR I propose to remove extra overloads of operator() in tests:

  • remove enable_if<cond, ....> before operator() in test;
  • remove enable_if<!cond, ....> in the text empty operator() in test;
  • check required cond inside operator() by if constexpr.

By this goal (is was proposed by @MikeDvorskiy in some of other review comments) we avoid a lot of empty code in tests.

SergeyKopienko avatar Jan 23 '24 17:01 SergeyKopienko