commit | 575a6301f331b748f2217a1eede974ca22d86f02 | [log] [tgz] |
---|---|---|
author | Marat Dukhan <marat@fb.com> | Sat Mar 10 14:38:49 2018 -0800 |
committer | Marat Dukhan <marat@fb.com> | Sat Mar 10 14:38:49 2018 -0800 |
tree | 93a2bf74eacced3c6ded14575f0ffd92606832c8 | |
parent | 28538f4d3054a4f83839179cd6e4f668832cdd7b [diff] [blame] |
Add frequency mock test for Android devices
diff --git a/test/mock/nexus6.cc b/test/mock/nexus6.cc index b192098..a025cde 100644 --- a/test/mock/nexus6.cc +++ b/test/mock/nexus6.cc
@@ -116,6 +116,12 @@ } } +TEST(CORES, DISABLED_frequency) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + ASSERT_EQ(UINT64_C(2649600000), cpuinfo_get_core(i)->frequency); + } +} + TEST(PACKAGES, count) { ASSERT_EQ(1, cpuinfo_get_packages_count()); }