提交 34d6ea8f authored 作者: José Luis Millán's avatar José Luis Millán

NackGenerator: enhance tests

上级 b81967a8
......@@ -51,11 +51,8 @@ public:
void Check()
{
if (this->currentInput.numNacked)
REQUIRE(this->nackRequiredTriggered);
if (this->currentInput.keyFrameRequired)
REQUIRE(this->keyFrameRequiredTriggered);
REQUIRE(this->nackRequiredTriggered == static_cast<bool>(this->currentInput.numNacked));
REQUIRE(this->keyFrameRequiredTriggered == this->currentInput.keyFrameRequired);
}
private:
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论