update hidebug/test/unittest/native/hidebug_test.cpp.

Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
This commit is contained in:
z30044609 2024-02-28 03:03:52 +00:00 committed by Gitee
parent b13530ecc7
commit 24a55f9979
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -214,9 +214,9 @@ HWTEST_F(HidebugTest, OH_HiDebug_GetSystemMemInfo1, TestSize.Level1)
{
HiDebug_SystemMemInfo systemMemInfo;
OH_HiDebug_GetSystemMemInfo(&systemMemInfo);
ASSERT_TRUE(systemMemInfo.memTotal >= 0);
ASSERT_TRUE(systemMemInfo.memFree >= 0);
ASSERT_TRUE(systemMemInfo.memAvailable >= 0);
ASSERT_TRUE(systemMemInfo.totalMem >= 0);
ASSERT_TRUE(systemMemInfo.freeMem >= 0);
ASSERT_TRUE(systemMemInfo.availableMem >= 0);
}
} // namespace