Lines Matching refs:PrettySize
161 TEST_F(UtilsTest, PrettySize) { in TEST_F() argument
162 EXPECT_EQ("1GB", PrettySize(1 * GB)); in TEST_F()
163 EXPECT_EQ("2GB", PrettySize(2 * GB)); in TEST_F()
165 EXPECT_EQ("100GB", PrettySize(100 * GB)); in TEST_F()
167 EXPECT_EQ("1024KB", PrettySize(1 * MB)); in TEST_F()
168 EXPECT_EQ("10MB", PrettySize(10 * MB)); in TEST_F()
169 EXPECT_EQ("100MB", PrettySize(100 * MB)); in TEST_F()
170 EXPECT_EQ("1024B", PrettySize(1 * KB)); in TEST_F()
171 EXPECT_EQ("10KB", PrettySize(10 * KB)); in TEST_F()
172 EXPECT_EQ("100KB", PrettySize(100 * KB)); in TEST_F()
173 EXPECT_EQ("0B", PrettySize(0)); in TEST_F()
174 EXPECT_EQ("1B", PrettySize(1)); in TEST_F()
175 EXPECT_EQ("10B", PrettySize(10)); in TEST_F()
176 EXPECT_EQ("100B", PrettySize(100)); in TEST_F()
177 EXPECT_EQ("512B", PrettySize(512)); in TEST_F()