Searched refs:myInt (Results 1 – 2 of 2) sorted by relevance
24 Optional<int> myInt; in TEST() local25 EXPECT_FALSE(myInt.has_value()); in TEST()29 Optional<int> myInt(0x1337); in TEST() local30 EXPECT_TRUE(myInt.has_value()); in TEST()31 EXPECT_EQ(*myInt, 0x1337); in TEST()35 Optional<int> myInt(std::move(0x1337)); in TEST() local36 EXPECT_TRUE(myInt.has_value()); in TEST()37 EXPECT_EQ(*myInt, 0x1337); in TEST()41 Optional<int> myInt; in TEST() local42 EXPECT_FALSE(myInt.has_value()); in TEST()[all …]
29 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() local30 ASSERT_FALSE(myInt.isNull()); in TEST()31 EXPECT_EQ(myInt.get()->value, 0xcafe); in TEST()32 EXPECT_EQ(myInt->value, 0xcafe); in TEST()33 EXPECT_EQ((*myInt).value, 0xcafe); in TEST()34 EXPECT_EQ(myInt[0].value, 0xcafe); in TEST()38 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() local39 ASSERT_FALSE(myInt.isNull()); in TEST()40 Value *value = myInt.get(); in TEST()42 UniquePtr<Value> moved(std::move(myInt)); in TEST()[all …]