summaryrefslogtreecommitdiffstats
path: root/base/sys_info_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/sys_info_unittest.cc')
-rw-r--r--base/sys_info_unittest.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/sys_info_unittest.cc b/base/sys_info_unittest.cc
index 4ed2834..edaf2aa 100644
--- a/base/sys_info_unittest.cc
+++ b/base/sys_info_unittest.cc
@@ -9,3 +9,8 @@ TEST(SysInfoTest, NumProcs) {
// We aren't actually testing that it's correct, just that it's sane.
EXPECT_GE(base::SysInfo::NumberOfProcessors(), 1);
}
+
+TEST(SysInfoTest, AmountOfMem) {
+ // We aren't actually testing that it's correct, just that it's sane.
+ EXPECT_GT(base::SysInfo::AmountOfPhysicalMemory(), 0);
+}