Searched refs:dfs_it (Results 1 – 2 of 2) sorted by relevance
127 BinaryTree<int>::dfs_iterator dfs_it = m_pTestee->dfs_begin(); in TEST_F() local130 ASSERT_EQ(111, **dfs_it); in TEST_F()131 ++dfs_it; in TEST_F()132 EXPECT_EQ(9, **dfs_it); in TEST_F()133 ++dfs_it; in TEST_F()134 EXPECT_EQ(7, **dfs_it); in TEST_F()135 ++dfs_it; in TEST_F()136 EXPECT_EQ(8, **dfs_it); in TEST_F()137 ++dfs_it; in TEST_F()138 EXPECT_EQ(10, **dfs_it); in TEST_F()[all …]
154 InputTree::dfs_iterator dfs_it = m_pTestee->dfs_begin(); in TEST_F() local156 ASSERT_STREQ("111", (*dfs_it)->name().c_str()); in TEST_F()157 ++dfs_it; in TEST_F()158 ASSERT_STREQ("7", (**dfs_it).name().c_str()); in TEST_F()159 ++dfs_it; in TEST_F()160 ASSERT_STREQ("8", (**dfs_it).name().c_str()); in TEST_F()161 ++dfs_it; in TEST_F()162 ASSERT_STREQ("10", (**dfs_it).name().c_str()); in TEST_F()163 ++dfs_it; in TEST_F()164 ASSERT_TRUE(dfs_it == dfs_end); in TEST_F()