Lines Matching refs:Address
21 TEST(Address, SevenBitConstexpr) { in TEST() argument
22 constexpr Address kSevenBit = in TEST()
23 Address::SevenBit<Address::kMaxSevenBitAddress>(); in TEST()
24 EXPECT_EQ(kSevenBit.GetSevenBit(), Address::kMaxSevenBitAddress); in TEST()
27 TEST(Address, TenBitConstexpr) { in TEST() argument
28 constexpr Address kTenBit = Address::TenBit<Address::kMaxTenBitAddress>(); in TEST()
29 EXPECT_EQ(kTenBit.GetTenBit(), Address::kMaxTenBitAddress); in TEST()
32 TEST(Address, SevenBitRuntimeChecked) { in TEST() argument
33 const Address seven_bit(Address::kMaxSevenBitAddress); in TEST()
34 EXPECT_EQ(seven_bit.GetSevenBit(), Address::kMaxSevenBitAddress); in TEST()
37 TEST(Address, TenBitRuntimeChecked) { in TEST() argument
38 const Address ten_bit(Address::kMaxTenBitAddress); in TEST()
39 EXPECT_EQ(ten_bit.GetTenBit(), Address::kMaxTenBitAddress); in TEST()