Lines Matching refs:nullopt
49 EXPECT_EQ(CStringToUInt32(""), nullopt); in TEST()
50 EXPECT_EQ(CStringToUInt32("!?"), nullopt); in TEST()
51 EXPECT_EQ(CStringToUInt32("abc"), nullopt); in TEST()
52 EXPECT_EQ(CStringToUInt32("123 abc"), nullopt); in TEST()
59 EXPECT_EQ(CStringToInt32(""), nullopt); in TEST()
60 EXPECT_EQ(CStringToInt32("!?"), nullopt); in TEST()
61 EXPECT_EQ(CStringToInt32("abc"), nullopt); in TEST()
62 EXPECT_EQ(CStringToInt32("123 abc"), nullopt); in TEST()
70 EXPECT_EQ(CStringToDouble(""), nullopt); in TEST()
71 EXPECT_EQ(CStringToDouble("!?"), nullopt); in TEST()
72 EXPECT_EQ(CStringToDouble("abc"), nullopt); in TEST()
73 EXPECT_EQ(CStringToDouble("123 abc"), nullopt); in TEST()
83 EXPECT_EQ(StringToUInt32(""), nullopt); in TEST()
84 EXPECT_EQ(StringToUInt32("!?"), nullopt); in TEST()
85 EXPECT_EQ(StringToUInt32("abc"), nullopt); in TEST()
86 EXPECT_EQ(StringToUInt32("123 abc"), nullopt); in TEST()
87 EXPECT_EQ(StringToUInt32("beefz", 16), nullopt); in TEST()
96 EXPECT_EQ(StringToInt32(""), nullopt); in TEST()
97 EXPECT_EQ(StringToInt32("!?"), nullopt); in TEST()
98 EXPECT_EQ(StringToInt32("abc"), nullopt); in TEST()
99 EXPECT_EQ(StringToInt32("123 abc"), nullopt); in TEST()
100 EXPECT_EQ(StringToInt32("beefz", 16), nullopt); in TEST()
112 EXPECT_EQ(StringToUInt64(""), nullopt); in TEST()
113 EXPECT_EQ(StringToUInt64("abc"), nullopt); in TEST()
114 EXPECT_EQ(StringToUInt64("beefz", 16), nullopt); in TEST()
127 EXPECT_EQ(StringToInt64(""), nullopt); in TEST()
128 EXPECT_EQ(StringToInt64("abc"), nullopt); in TEST()
129 EXPECT_EQ(StringToInt64("beefz", 16), nullopt); in TEST()
139 EXPECT_EQ(StringToDouble(""), nullopt); in TEST()
140 EXPECT_EQ(StringToDouble("!?"), nullopt); in TEST()
141 EXPECT_EQ(StringToDouble("abc"), nullopt); in TEST()
142 EXPECT_EQ(StringToDouble("123 abc"), nullopt); in TEST()
143 EXPECT_EQ(StringToDouble("124,456"), nullopt); in TEST()
144 EXPECT_EQ(StringToDouble("4 2"), nullopt); in TEST()
145 EXPECT_EQ(StringToDouble(" - 42"), nullopt); in TEST()