diff options
author | Marat Dukhan <marat@fb.com> | 2018-03-10 14:38:49 -0800 |
---|---|---|
committer | Marat Dukhan <marat@fb.com> | 2018-03-10 14:38:49 -0800 |
commit | 575a6301f331b748f2217a1eede974ca22d86f02 (patch) | |
tree | 93a2bf74eacced3c6ded14575f0ffd92606832c8 /test/mock/pixel-c.cc | |
parent | 28538f4d3054a4f83839179cd6e4f668832cdd7b (diff) | |
download | cpuinfo-575a6301f331b748f2217a1eede974ca22d86f02.tar.gz |
Add frequency mock test for Android devices
Diffstat (limited to 'test/mock/pixel-c.cc')
-rw-r--r-- | test/mock/pixel-c.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/mock/pixel-c.cc b/test/mock/pixel-c.cc index d50b2c4..1910ef9 100644 --- a/test/mock/pixel-c.cc +++ b/test/mock/pixel-c.cc @@ -116,6 +116,12 @@ TEST(CORES, midr) { } } +TEST(CORES, DISABLED_frequency) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + ASSERT_EQ(UINT64_C(1912500000), cpuinfo_get_core(i)->frequency); + } +} + TEST(PACKAGES, count) { ASSERT_EQ(1, cpuinfo_get_packages_count()); } |