提交 707a82a4 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

worket test: Fix iterator increase (fixes #50)

上级 b1993e51
......@@ -335,8 +335,9 @@ FCTMF_SUITE_BGN(test_rtcp)
ByePacket::Iterator it = bye1.Begin();
fct_chk_eq_int(*(it), ssrc1);
fct_chk_eq_int(*(++it), ssrc2);
fct_chk_eq_int(*it, ssrc1);
it++;
fct_chk_eq_int(*it, ssrc2);
fct_chk(bye1.GetReason() == reason);
// Locally store the content of the packet.
......@@ -348,8 +349,9 @@ FCTMF_SUITE_BGN(test_rtcp)
it = bye2->Begin();
fct_chk_eq_int(*(it), ssrc1);
fct_chk_eq_int(*(++it), ssrc2);
fct_chk_eq_int(*it, ssrc1);
it++;
fct_chk_eq_int(*it, ssrc2);
fct_chk(bye2->GetReason() == reason);
}
FCT_TEST_END()
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论