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/moto-g-gen4.cc b/test/mock/moto-g-gen4.cc index 3540689..8194ecb 100644 --- a/test/mock/moto-g-gen4.cc +++ b/test/mock/moto-g-gen4.cc
@@ -142,6 +142,12 @@ } } +TEST(CORES, DISABLED_frequency) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + ASSERT_EQ(UINT64_C(1516800000), cpuinfo_get_core(i)->frequency); + } +} + TEST(PACKAGES, count) { ASSERT_EQ(1, cpuinfo_get_packages_count()); }