10 #include <gtest/gtest.h> 16 std::cout <<
"CPU features: " << s <<
"\n";
EXPECT_GT(out.final_iters, 10UL)
bool supports(feature f) noexcept
Returns true if the current CPU (and OS) supports the given CPU feature.
std::string features_as_string() noexcept
Returns a string with detected features: "MMX:1 SSE2:0 etc.".
TEST(cpu, features_as_string)