Lines Matching refs:G
20 Graph<4> G; in TEST() local
21 G.AddEdge(0, 1); in TEST()
22 G.AddEdge(0, 2); in TEST()
23 G.AddEdge(1, 3); in TEST()
25 auto It = BFIter::begin(G); in TEST()
26 auto End = BFIter::end(G); in TEST()
28 EXPECT_EQ(*It, G.AccessNode(0)); in TEST()
31 EXPECT_EQ(*It, G.AccessNode(1)); in TEST()
34 EXPECT_EQ(*It, G.AccessNode(2)); in TEST()
37 EXPECT_EQ(*It, G.AccessNode(3)); in TEST()
45 Graph<4> G; in TEST() local
46 G.AddEdge(0, 1); in TEST()
47 G.AddEdge(1, 0); in TEST()
48 G.AddEdge(1, 2); in TEST()
49 G.AddEdge(2, 1); in TEST()
50 G.AddEdge(2, 1); in TEST()
51 G.AddEdge(2, 3); in TEST()
52 G.AddEdge(3, 2); in TEST()
53 G.AddEdge(3, 1); in TEST()
54 G.AddEdge(3, 0); in TEST()
56 auto It = BFIter::begin(G); in TEST()
57 auto End = BFIter::end(G); in TEST()
59 EXPECT_EQ(*It, G.AccessNode(0)); in TEST()
62 EXPECT_EQ(*It, G.AccessNode(1)); in TEST()
65 EXPECT_EQ(*It, G.AccessNode(2)); in TEST()
68 EXPECT_EQ(*It, G.AccessNode(3)); in TEST()