src/network/test/packet-metadata-test.cc
changeset 7252 c8200621e252
parent 7182 5ecfee5d17de
child 7256 b04ba6772f8c
equal deleted inserted replaced
7251:b2fe610ad03f 7252:c8200621e252
   328         }
   328         }
   329       got.push_back (item.currentSize);
   329       got.push_back (item.currentSize);
   330     }
   330     }
   331 
   331 
   332   for (std::list<int>::iterator i = got.begin (),
   332   for (std::list<int>::iterator i = got.begin (),
   333                                 j = expected.begin ();
   333        j = expected.begin ();
   334        i != got.end (); i++, j++)
   334        i != got.end (); i++, j++)
   335     {
   335     {
   336       NS_ASSERT (j != expected.end ());
   336       NS_ASSERT (j != expected.end ());
   337       if (*j != *i)
   337       if (*j != *i)
   338         {
   338         {