proxygen
CpuIdTest.cpp File Reference

Go to the source code of this file.

Functions

 TEST (CpuId, Simple)
 

Function Documentation

TEST ( CpuId  ,
Simple   
)

Definition at line 23 of file CpuIdTest.cpp.

References EXPECT_EQ, and folly::kIsArchAmd64.

23  {
24  CpuId id;
25  // All x64 CPUs should support MMX
26  EXPECT_EQ(kIsArchAmd64, id.mmx());
27 }
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:1922
constexpr bool kIsArchAmd64
Definition: Portability.h:102