Home
last modified time | relevance | path

Searched refs:pow2_60 (Results 1 – 1 of 1) sorted by relevance

/external/avb/test/
Davb_util_unittest.cc393 uint64_t pow2_60 = 1ULL << 60; in TEST_F() local
400 value = 1 * pow2_60; in TEST_F()
401 EXPECT_NE(0, avb_safe_add_to(&value, 2 * pow2_60)); in TEST_F()
402 EXPECT_EQ(3 * pow2_60, value); in TEST_F()
403 value = 7 * pow2_60; in TEST_F()
404 EXPECT_NE(0, avb_safe_add_to(&value, 8 * pow2_60)); in TEST_F()
405 EXPECT_EQ(15 * pow2_60, value); in TEST_F()
406 value = 9 * pow2_60; in TEST_F()
407 EXPECT_NE(0, avb_safe_add_to(&value, 3 * pow2_60)); in TEST_F()
408 EXPECT_EQ(12 * pow2_60, value); in TEST_F()
[all …]