Lines Matching refs:complex
204 ComplexProto complex; in TEST() local
205 ASSERT_TRUE(complex.ParseFromString(iterateToString(&proto))); in TEST()
206 EXPECT_EQ(complex.ints_size(), 3); in TEST()
207 EXPECT_EQ(complex.ints(0), 23); in TEST()
208 EXPECT_EQ(complex.ints(1), 101); in TEST()
209 EXPECT_EQ(complex.ints(2), -72); in TEST()
210 EXPECT_EQ(complex.logs_size(), 2); in TEST()
211 ComplexProto::Log log1 = complex.logs(0); in TEST()
215 ComplexProto::Log log2 = complex.logs(1); in TEST()
243 ComplexProto complex; in TEST() local
246 ASSERT_TRUE(complex.ParseFromString(serialized)); in TEST()
247 EXPECT_EQ(complex.ints_size(), 3); in TEST()
248 EXPECT_EQ(complex.ints(0), 23); in TEST()
249 EXPECT_EQ(complex.ints(1), 101); in TEST()
250 EXPECT_EQ(complex.ints(2), -72); in TEST()
251 EXPECT_EQ(complex.logs_size(), 2); in TEST()
252 ComplexProto::Log log1 = complex.logs(0); in TEST()
256 ComplexProto::Log log2 = complex.logs(1); in TEST()
304 ComplexProto complex; in TEST() local
305 ASSERT_TRUE(complex.ParseFromString(flushToString(&proto))); in TEST()
306 EXPECT_EQ(complex.ints_size(), 1); in TEST()
307 EXPECT_EQ(complex.ints(0), UINT64_C(-123809234)); in TEST()
308 EXPECT_EQ(complex.logs_size(), 2); in TEST()
309 ComplexProto::Log log1 = complex.logs(0); in TEST()
313 ComplexProto::Log log2 = complex.logs(1); in TEST()