Searched refs:myInt (Results 1 – 2 of 2) sorted by relevance
32 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() local33 ASSERT_FALSE(myInt.isNull()); in TEST()34 EXPECT_EQ(myInt.get()->value, 0xcafe); in TEST()35 EXPECT_EQ(myInt->value, 0xcafe); in TEST()36 EXPECT_EQ((*myInt).value, 0xcafe); in TEST()37 EXPECT_EQ(myInt[0].value, 0xcafe); in TEST()56 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() local57 ASSERT_FALSE(myInt.isNull()); in TEST()58 Value *value = myInt.get(); in TEST()60 UniquePtr<Value> moved(std::move(myInt)); in TEST()[all …]
51 Optional<int> myInt; in TEST() local52 EXPECT_FALSE(myInt.has_value()); in TEST()56 Optional<int> myInt(0x1337); in TEST() local57 EXPECT_TRUE(myInt.has_value()); in TEST()58 EXPECT_EQ(*myInt, 0x1337); in TEST()62 Optional<int> myInt(std::move(0x1337)); in TEST() local63 EXPECT_TRUE(myInt.has_value()); in TEST()64 EXPECT_EQ(*myInt, 0x1337); in TEST()68 Optional<int> myInt(0x1337); in TEST() local69 Optional<int> myNewInt(myInt); in TEST()[all …]