Home | History | Annotate | Download | only in unittests

Lines Matching full:dfs_it

138   BinaryTree<int>::dfs_iterator dfs_it = m_pTestee->dfs_begin();
141 ASSERT_EQ(111, **dfs_it);
142 ++dfs_it;
143 EXPECT_EQ(9, **dfs_it);
144 ++dfs_it;
145 EXPECT_EQ(7, **dfs_it);
146 ++dfs_it;
147 EXPECT_EQ(8, **dfs_it);
148 ++dfs_it;
149 EXPECT_EQ(10, **dfs_it);
150 ++dfs_it;
151 EXPECT_TRUE( dfs_it == dfs_end);
168 BinaryTree<int>::dfs_iterator dfs_it = m_pTestee->dfs_begin();
171 ASSERT_EQ(0, **dfs_it);
172 ++dfs_it;
173 ASSERT_EQ(1, **dfs_it);
174 ++dfs_it;
175 ASSERT_EQ(2, **dfs_it);
176 ++dfs_it;
177 ASSERT_EQ(3, **dfs_it);
178 ++dfs_it;
179 ASSERT_EQ(4, **dfs_it);
180 ++dfs_it;
181 ASSERT_TRUE( dfs_it == dfs_end);
189 BinaryTree<int>::dfs_iterator dfs_it = m_pTestee->dfs_begin();
192 while( dfs_it != dfs_end ) {
194 ++dfs_it;